Hi, Am Mittwoch, 16. März 2005 14:49 schrieb Jeffrey Andrews:
If I told the system to use md5, would I then encrypt the MD5 digest of the password, or the plain text?
In my <security> section: <passwd_encryption>md5</passwd_encryption>
In my <user> section, the below is the md5 digested password. <user_password>EE8863733EF4355A37D566F3DF2AD016</user_password>
This doesn't look like the proper format needed for the file /etc/shadow as it seems to be some hex value. Even if the above value turned up in /etc/shadow (if it did at least your xml-configuration seems okay) you could not log in. Let's say your password is supposed to be suse. You get the proper hash for example with mkpasswd (package whois): mkpasswd --hash=md5 Passwort:suse $1$jJaKReiE$a4DK5UhFrvbg8hDX4nXrj. The last line is what you cut and paste between <user_password> and </user_password> Another way to get the hash would be to give some testuser-account the desired password and copy the resulting hash from /etc/shadow. Regards Björn Lotz