shadow-4.2.1 not getting password and automatically sets one itself.
I compiled and installed shadow-4.2.1. Then executed pwconv, grpconv.
But "passwd root" command did not get the password from me it automatically set a password. When issuing the passwd root command the following is the result.
root:/sources/shadow-4.2.1# passwd root
Changing password for root
Enter the new password (minimum of 5 characters)
Please use a combination of upper and lower case letters and numbers.
Bad password: too short.
Warning: weak password (enter it again to use it anyway).
passwd: password changed.
The password not getting from me in command prompt it just went up to password changed without asking password.
content of /etc/shadow and /etc/gshadow after running the passwd root.
root:/sources/shadow-4.2.1# cat /etc/shadow
root:$6$K7Ml0ZAt3iu$RYACs0PxBMdd2ciR2gLt06.R7arGK9l3X/sWnjUpaphmw5VbMExg2/FNsB6Wa5ZZAPSi4IEAWVQ9FJMUdkunb1:16530:0:99999:7:::
bin:x:16529:0:99999:7:::
daemon:x:16529:0:99999:7:::
messagebus:x:16529:0:99999:7:::
nobody:x:16529:0:99999:7:::
root:/sources/shadow-4.2.1# cat /etc/gshadow
root:x::
bin:x::daemon
sys:x::
kmem:x::
tape:x::
tty:x::
daemon:x::
|