Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: "Lock Screen" dialog refuses (valid) password.

  1. #11
    Join Date
    Jul 2008
    Beans
    16

    Re: "Lock Screen" dialog refuses (valid) password.

    You may also need to change the group permission of /etc/shadow

    have a look at the files /etc/shadow and /sbin/unix_chkpwd. The owner
    should be "root" for the user, and "shadow" for the group.
    (See: http://groups.google.com/group/linux...487ced7818487c)

    So, the revised solution would perhaps be:

    Code:
    CAUSE:
    /sbin/unix_chkpwd and /etc/shadow have wrong group/permissions
    
    SOLUTION:
    chown root:shadow /sbin/unix_chkpwd
    chmod 2755 /sbin/unix_chkpwd
    chown root:shadow /etc/shadow

  2. #12
    Join Date
    Jul 2008
    Beans
    16

    Re: "Lock Screen" dialog refuses (valid) password.

    Update: This problem was fixed in Ubuntu 8.10.

  3. #13
    Join Date
    Jun 2006
    Beans
    259
    Distro
    Ubuntu Karmic Koala (testing)

    Re: "Lock Screen" dialog refuses (valid) password.

    I've just started getting it in Ubuntu 8.10 (fresh install but old /home). It will intermittently require two password attempts to gain access. I've very carefully typed my password to test this and it will be denied. I tried changing my password but it continues.

  4. #14
    Join Date
    Oct 2008
    Beans
    6

    Re: "Lock Screen" dialog refuses (valid) password.

    I have this problem on two different installs of Hardy (one is Xubuntu the other is regular Gnome). In my machine the ownership and permissions are already set as mentioned in the solution. Any fixes?

  5. #15
    Join Date
    Jun 2006
    Beans
    259
    Distro
    Ubuntu Karmic Koala (testing)

    Re: "Lock Screen" dialog refuses (valid) password.

    I solved it by upgrading to Intrepid

    Come on up, the water is nice.

  6. #16
    Join Date
    Oct 2008
    Beans
    6

    Re: "Lock Screen" dialog refuses (valid) password.

    I can't upgrade as some of the packages I need to work with are not very stable on Intrepid.

  7. #17
    Join Date
    Feb 2009
    Beans
    1

    Re: "Lock Screen" dialog refuses (valid) password.

    Quote Originally Posted by Rhubarb View Post
    It's a known bug, see here:
    https://answers.launchpad.net/ubuntu...question/45385

    Salgar has the solution:

    Code:
    CAUSE:
    /sbin/unix_chkpwd has wrong group/permissions
    
    SOLUTION:
    sudo chown root:shadow /sbin/unix_chkpwd
    sudo chmod 2755 /sbin/unix_chkpwd
    This worked for me on Ubuntu EEE (8.04)

  8. #18
    Join Date
    Apr 2009
    Beans
    2

    Re: "Lock Screen" dialog refuses (valid) password.

    I have installed version 8.10 will all updates and default Gnome 2.24.1 and after try the proposed solutions on this thread the lock screen still refuses my valid password. Any other ideas ?

    Thanks

  9. #19
    Join Date
    Dec 2008
    Beans
    1

    Re: "Lock Screen" dialog refuses (valid) password.

    use this :
    chown root:shadow /sbin/unix_chkpwd
    chmod +s /usr/lib/gnome-screensaver/gnome-screensaver-dialog
    chmod +s /sbin/unix_chkpwd
    chown root:shadow /etc/shadow

    for kde users:
    chmod +s /usr/bin/kcheckpass

    tested on ubuntu 9.04

  10. #20
    Join Date
    Sep 2009
    Beans
    10

    Re: "Lock Screen" dialog refuses (valid) password.

    Yup, this bug is still extant in 9.04. The stock install was fine, but somewhere along the way, my /etc/shadow has become root:root and 0400.

    I'm not sure what's causing it. Running useradd sets the permissions to 0440, but doesn't touch the permissions.

    sudo chown root:shadow /etc/shadow
    sudo chmod 440 /etc/shadow

    fixes the screen unlock problem for me in 9.04.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

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