[Adduser-devel] Bug#212872: passwd: adduser should ask for password
again if there is a mismatch
Thorsten Gunkel
tgunkel-lists at tgunkel.de
Sat Nov 25 02:06:06 CET 2006
I just tried to add a test user in a fresh sid debootstrap and had a typo in
the re-typed password:
,----
| # adduser test2
| perl: warning: Setting locale failed.
| perl: warning: Please check that your locale settings:
| LANGUAGE = (unset),
| LC_ALL = (unset),
| LANG = "en_US.UTF-8"
| are supported and installed on your system.
| perl: warning: Falling back to the standard locale ("C").
| Adding user `test2' ...
| Adding new group `test2' (1001) ...
| Adding new user `test2' (1001) with group `test2' ...
| Creating home directory `/home/test2' ...
| Copying files from `/etc/skel' ...
| Enter new UNIX password:
| Retype new UNIX password:
| Sorry, passwords do not match
| passwd: Authentication information cannot be recovered
| passwd: password unchanged
| Undefined subroutine &main::NOEXPR called at /usr/sbin/adduser line 509, <FIND> line 4.
`----
I would also prefer it if adduser would ask me again. Additionally please
notice the last line in the output about the missing subroutine.
regards
Thorsten
More information about the Adduser-devel
mailing list