Skip to content

Commit 5cc1f05

Browse files
authored
Merge pull request #95 from globadyne/main
Update faq.mdx
2 parents 3651cf8 + 7a12d04 commit 5cc1f05

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

  • src/content/docs/getting-started

src/content/docs/getting-started/faq.mdx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,36 @@ On some distributions (such as openSUSE), <code>/etc/pam.d/login</code> may not
221221
If you have previously used a custom PAM configuration for fingerprint authentication or any other form of authentication, you can now remove it. Noctalia will use the system's default authentication methods as defined in <code>/etc/pam.d/login</code>.
222222

223223

224+
</details>
225+
226+
<details>
227+
<summary><strong>How to enable Yubikey for Noctalia Lockscreen?</strong></summary>
228+
229+
Noctalia lock screen pulls it's authentication info from <code>/etc/pam.d/system-login</code> this is where we will need to add our PAM info for our Yubikey
230+
Please Note: This instruction assumes your Yubikey is already configured for this consult your distros documentation.
231+
232+
we're going to need to edit <code>/etc/pam.d/system-login</code>, so use whichever text editor you like. <code> sudo nvim /etc/pam.d/system-login </code> find the last instance of a line that starts with "auth" and make a new line after that
233+
234+
in the new line, type (or copy and paste) in the following: auth required pam_u2f.so
235+
236+
write and quit the file
237+
238+
If you want to require ONLY the yubikey to unlock your screen:
239+
1. Open the file back up with your text editor
240+
2. Find the line that contains: auth include system-auth
241+
242+
comment out the line so that it looks like: #auth include system-auth
243+
244+
Example once completed
245+
<code>
246+
auth required pam_shells.so
247+
auth requisite pam_nologin.so
248+
#auth include system-auth
249+
auth required pam_u2f.so
250+
</code>
251+
252+
write and quit the file
253+
224254
</details>
225255

226256
<details>

0 commit comments

Comments
 (0)