FS#43480 - [filesystem] shadow - 'x' in encrypted password field
Attached to Project:
Arch Linux
Opened by nfnty (nfnty) - Friday, 16 January 2015, 23:16 GMT
Last edited by Dave Reisner (falconindy) - Monday, 26 January 2015, 00:15 GMT
Opened by nfnty (nfnty) - Friday, 16 January 2015, 23:16 GMT
Last edited by Dave Reisner (falconindy) - Monday, 26 January 2015, 00:15 GMT
|
Details
Wouldn't it be better to have '!' instead of 'x' in the
encrypted password field for all locked accounts? More
consistent and properly documented.
I.e.: bin:!:14871:::::: Not: bin:x:14871:::::: Quote from shadow(5): If the password field contains some string that is not a valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in (but the user may log in the system by other means). |
This task depends upon
Closed by Dave Reisner (falconindy)
Monday, 26 January 2015, 00:15 GMT
Reason for closing: Not a bug
Additional comments about closing: Nothing to fix. An 'x' is as good as a '*' is as good as a '!', as described by the documentation.
Monday, 26 January 2015, 00:15 GMT
Reason for closing: Not a bug
Additional comments about closing: Nothing to fix. An 'x' is as good as a '*' is as good as a '!', as described by the documentation.
The only shadow users that have 'x' as their encrypted password is the default ones included from this package. All other users have '!' as their encrypted password if not set. Consistency would be great.