SHA256 not used as hash for initial user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shadow (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: passwd
After installation of Ubuntu Intrepid, the password in /etc/shadow uses MD5 ($1$) instead of SHA256 ($6$).
/etc/shadow:
thosjo:$1$qwXqg...
Bug #303515:
root@thosjo-lab:~# passwd thosjo
Enter new UNIX password:
Retype new UNIX password:
Sorry, passwords do not match
passwd: password updated successfully
root@thosjo-lab:~# passwd thosjo
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
/etc/shadow:
thosjo:
root@thosjo-lab:~# dpkg -l|grep passwd
ii base-passwd 3.5.18 Debian base system master password and group
ii passwd 1:4.1.1-1ubuntu1.2 change and administer password and group dat
root@thosjo-lab:~# uname -a && lsb_release -a
Linux thosjo-lab 2.6.27-11-generic #1 SMP Fri Dec 19 16:29:52 UTC 2008 i686 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid