Not sure that's really right either... maybe it corrects the error for you though.
The easiest way to make a proper crypted password is either to use usermod, passwd, as normal and then copy from /etc/shadow, or use mkpasswd. Here's a proper example with salt and a proper algorithm: # mkpasswd -m SHA-256 -s <<< "hi" $5$aiIZoKuCb81Ki$tBcSFQfyetVkJ03TXX5ftw/XJD27Qt5pTABGz7gdUM/ Here is the obsolete insecure md5 algorithm as you have used before. You can see here the "$1$..." means it is md5, and is the proper way to format it unlike in the simple output you have with ".... | md5sum" used. # mkpasswd -m md5 -s <<< "hi" $1$SFSi8luS$jzco491ys2fylaH8ILLpC. See man 3 crypt for the details on the format and what it all means. To install mkpasswd, install the "whois" package. On 10/23/2015 09:38 PM, aitor_czr wrote: > Yes... you are right, Klaus. > > El 23/10/15 09:20, Klaus Hartnegg <hartn...@uni-freiburg.de> escribió: >> Maybe you need instead this >> >> echo -n "XXXXXX" | md5sum >> c0a7ae7d513f4beb2bc203d6f339f1b5 - >
_______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng