View previous topic :: View next topic |
Author |
Message |
farmer.ro Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Bugs.gif)
Joined: 20 Aug 2016 Posts: 179
|
Posted: Sun Aug 28, 2016 7:04 pm Post subject: [SOLVED] sddm google authenticator |
|
|
I am trying to use the Google-Authenticator with the SDDM login screen on KDE.
when:
Code: | /etc/pam.d/system-auth |
Code: | auth required pam_google_authenticator.so |
it seems to put the 2 step verification on every single password prompt, including SDDM, which does not seem to offer a graphical option to enter the Google Code.
when:
Code: | auth required pam_google_authenticator.so nullok |
or
Code: | auth required pam_google_authenticator.so |
in
Code: | /etc/pam.d/sddm-autologin |
and
sddm does not offer a graphical login option for the 2 step google code.
Last edited by farmer.ro on Mon Aug 29, 2016 3:24 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
farmer.ro Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Bugs.gif)
Joined: 20 Aug 2016 Posts: 179
|
Posted: Mon Aug 29, 2016 8:10 am Post subject: |
|
|
for now i removed sddm from the default runlevel and decided to use startx, because security seems more important then a fancy gui.
if anyone knows how to add google authenticator to the sddm (i know lightdm works) then feel free to post ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
farmer.ro Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Bugs.gif)
Joined: 20 Aug 2016 Posts: 179
|
Posted: Mon Aug 29, 2016 3:06 pm Post subject: |
|
|
Gentoo openrc ~amd64 just installed lightdm and want to make it work with google authenticator.
Code: | /etc/pam.d/lightdm
auth required pam_google_authenticator.so |
i now get asked for a verification code when logging in to KDE 5 Plasma.
zomg pretty cool
however because i want to use the google authenticator globally
Code: | /etc/pam.d/system-auth
auth required pam_google_authenticator.so |
but after the last code i can not seem to login with lightdm anymore, because i think /etc/pam.d/system-auth overrides /etc/pam.d/lightdm
**edit**
workaround would be to put
Code: | auth required pam_google_authenticator |
in the desired |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ma3oxuct Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/2138242039441b0cdd641d8.gif)
Joined: 18 Apr 2003 Posts: 523
|
Posted: Sat Aug 12, 2017 9:11 pm Post subject: |
|
|
Bummer, I found out the hard way that this KDE method won't work for KDE-Plasma. With Plasma you're stuck with running startx and having to not use the regular lock screen. We'll have to wait (or contribute) to this: https://github.com/sddm/sddm/issues/722 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|