Unable to login to a new install of openembedded 2007.12 due to this strange bug where a blank root password is created by default but is unacceptable.
The solution:
sudo apt-get install makepasswd
echo "password" | makepasswd --clearfrom=- --crypt-md5
password $1$iFxwhLFZ$URYvnqplm5MXYEsGF8qLW0
generates an MD5 hash for the password (in this case, ‘password’) which is then copied into the ‘root’ entry in /etc/passwd
nb you should never use “password” as your password, Nicky
0 Responses to “manually changing a linux password”
Leave a Reply