this post was submitted on 11 Jun 2023
1 points (66.7% liked)

Linux

48230 readers
623 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I already use 2FA to SSH into Fedora with libpam/google-authenticator.

I also tried setting it up for GNOME desktop login. However, after logging out and going back to the login screen, I type in the 2FA code (which it accepts fine via SSH) and it says it is incorrect. I have a feeling SELinux is messing it up. Luckily I could SSH back in and fix it back.

Anybody have any experience with this?

you are viewing a single comment's thread
view the rest of the comments
[–] kamin@lemmy.kghorvath.com 2 points 1 year ago (1 children)

Did you try parsing journalctl over SSH and check to see if there were any PAM or SELinux errors?

[–] animist@lemmy.one 1 points 1 year ago (1 children)

I'll do that first thing tomorrow and report back

[–] kamin@lemmy.kghorvath.com 1 points 1 year ago

You can also run setenforce 0 to temporarily disable SELinux and rule that out.