File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 <span class =" hint" >Automatically start anylinuxfs when you log in.</span >
4949 </div >
5050 </div >
51+
52+ <div class =" setting-group" >
53+ <h3 >Touch ID</h3 >
54+ <p class =" description" >Use Touch ID instead of typing your password for admin actions.</p >
55+
56+ <div class =" setting" >
57+ <p class =" guide-text" >
58+ macOS can use Touch ID to authenticate <code >sudo</code > commands.
59+ Once enabled, anylinuxfs will automatically use Touch ID when mounting disks.
60+ </p >
61+ <p class =" guide-text" >To enable, run these commands in Terminal:</p >
62+ <div class =" code-block" >
63+ <code >sudo cp /etc/pam.d/sudo_local.template /etc/pam.d/sudo_local</code >
64+ <code >sudo nano /etc/pam.d/sudo_local</code >
65+ </div >
66+ <p class =" guide-text" >
67+ Then uncomment the line containing <code >pam_tid.so</code > (remove the <code >#</code >)
68+ and save with <kbd >Ctrl+O</kbd >, <kbd >Enter</kbd >, <kbd >Ctrl+X</kbd >.
69+ </p >
70+ <span class =" hint" >This setting persists across macOS updates (Sonoma and later).</span >
71+ </div >
72+ </div >
5173</div >
5274
5375<style >
7395 cursor : not-allowed ;
7496 }
7597
98+ .guide-text {
99+ margin : 4px 0 ;
100+ line-height : 1.5 ;
101+ }
102+
103+ .guide-text code , .guide-text kbd {
104+ background : var (--surface-hover , #f0f0f0 );
105+ padding : 1px 5px ;
106+ border-radius : 3px ;
107+ font-size : 0.9em ;
108+ }
109+
110+ .code-block {
111+ background : var (--surface-hover , #f0f0f0 );
112+ border-radius : 6px ;
113+ padding : 10px 12px ;
114+ margin : 8px 0 ;
115+ display : flex ;
116+ flex-direction : column ;
117+ gap : 4px ;
118+ }
119+
120+ .code-block code {
121+ font-size : 0.85em ;
122+ white-space : pre-wrap ;
123+ word-break : break-all ;
124+ }
125+
76126 </style >
You can’t perform that action at this time.
0 commit comments