Mailing List Archive

[Bug 811] locked /etc/shadow password prefix on linux
http://bugzilla.mindrot.org/show_bug.cgi?id=811

Summary: locked /etc/shadow password prefix on linux
Product: Portable OpenSSH
Version: 3.8p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: sshd
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: openssh@roumenpetrov.info


Current prefix for locked password is set to '!!'
This might is RedHat specific.
Slakware and SuSE use:
'!' - account(password) can be unlocked
'*' - account(password) always remain locked



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 811] locked /etc/shadow password prefix on linux [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=811

dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED



------- Additional Comments From dtucker@zip.com.au 2004-03-08 23:48 -------
What does the "lock account" command (ie passwd -l or equivalent) do?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 811] locked /etc/shadow password prefix on linux [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=811





------- Additional Comments From openssh@roumenpetrov.info 2004-03-09 17:23 -------
passwd -l/-u : add/remove symbol '!' before password string
passwd -S : report locked password when first symbol is '!' or '*'
tested on some slackware and suse versions

about '*' prefix.
let account password contain '*' - passwd -S report locked
after passwd -l : password is '!*' - passwd -S report locked
after passwd -u : password is '*' - passwd -S report locked
again after passwd -u : no changes in account state

I dont have information for other distro.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.