Results 1 to 8 of 8

Thread: Does password-less login work?

  1. #1

    Default Does password-less login work?

    Hello all.
    I cannot get the 'password-less login' feature to work. The opition is available under yast user managemet (expert settings), and also as a key under 'displaymanager' in the etc/sysconfig editor. I expect that with password less login enabled, i need not type my password when waking from sleep, for example. But i am always prompted for a password.
    This is different from auto-login, of course. That works fine.
    I've seen some old posts on this topic, but none seemed to provide a full explanation of what this option actually does. Some suggested conflicts with kdm, some mentioned a yast bug. Does password less login actually work?

    Im on 13.2, Gnome desktop (so the login manager is gdm).

  2. #2
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: Does password-less login work?

    Quote Originally Posted by InNewtonITrust View Post
    Hello all.
    I cannot get the 'password-less login' feature to work. The opition is available under yast user managemet (expert settings), and also as a key under 'displaymanager' in the etc/sysconfig editor. I expect that with password less login enabled, i need not type my password when waking from sleep, for example. But i am always prompted for a password.
    This is different from auto-login, of course. That works fine.
    I've seen some old posts on this topic, but none seemed to provide a full explanation of what this option actually does. Some suggested conflicts with kdm, some mentioned a yast bug. Does password less login actually work?

    Im on 13.2, Gnome desktop (so the login manager is gdm).
    I know how to do it in kde, I don't use gnome, you can try gdmsetup
    Code:
    gnomesu /usr/sbin/gdmsetup
    find and set user password options.

    edit. It seams gdmsetup has been dropped by the Gnome people, I've read about gdm2setup but I can't seam to find a package try here
    https://launchpad.net/gdm2setup

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,643
    Blog Entries
    3

    Default Re: Does password-less login work?

    Quote Originally Posted by InNewtonITrust View Post
    I expect that with password less login enabled, i need not type my password when waking from sleep, for example. But i am always prompted for a password.
    Hmm, no. I think you have the wrong setting.

    You need to turn off locking in the screensaver settings. That's independent of login without password.

    If you login to Gnome without password, then your Gnome keyring probably won't be unlocked. So I'm not sure if there is any real benefit to that.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  4. #4

    Default Re: Does password-less login work?

    Ill try installing gdm2setup using the binaries, thanks.
    Quote Originally Posted by nrickert View Post
    If you login to Gnome without password, then your Gnome keyring probably won't be unlocked. So I'm not sure if there is any real benefit to that.
    I see what you mean. But this is only valid for initial autologin at boot time. Once the keyring is unlocked, and then i suspend the machine, the keyring doesnt lock again.
    But Turning off screen lock will bypass the login manager completely, yes? That might be a simpler solution, you're right...

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,643
    Blog Entries
    3

    Default Re: Does password-less login work?

    I usually avoid Gnome.

    However, in Gnome:

    Right click on background. Select "Settings"

    Click "Privacy".

    Look for "Screen Lock" and change it to "Off".
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  6. #6

    Default Re: Does password-less login work?

    Quote Originally Posted by nrickert View Post
    I usually avoid Gnome.
    Ive started exploring it since the most recent Gnome shell versions. Can you list any obvious advantges for KDE?

  7. #7
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,643
    Blog Entries
    3

    Default Re: Does password-less login work?

    Quote Originally Posted by InNewtonITrust View Post
    Can you list any obvious advantges for KDE?
    It is very configurable. If I want to change something, I go to "Configure Desktop" and I can usually find out how to do what I want.

    At one time, I would have said that about Gnome. But these days, if I want to configure something in Gnome, I do a Google search to find out all of the weird tricks I will have to do to setup my desktop the way that I like.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  8. #8

    Default Re: Does password-less login work?

    Quote Originally Posted by InNewtonITrust View Post
    Hello all.
    I cannot get the 'password-less login' feature to work.
    <snip>
    Does password less login actually work?

    Im on 13.2, Gnome desktop (so the login manager is gdm).
    I got it working: the problem is the PAM configuration

    You need to add the option "nullok" in the file /etc/pam.d/common-auth-pc in the line with pam_unix
    E.g.:
    auth required pam_unix.so try_first_pass nullok

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •