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> Thanks. Jeff On Tue, 2005-03-15 at 16:30 -0500, Nicholas DeClario wrote:
You need to encrypt the password before setting it and enter it in like so:
<users config:type="list"> <user> <encrypted config:type="boolean">true</encrypted> <user_password>1C4DFVM68V3xnFU</user_password> <username>root</username> </user> </users>
To generate the above encrypted password you want to try something like:
# perl -e 'print crypt("passwd", "95"),"\n"'
'system' being the password and '95' being an arbitrary salt.
Hope this help.
-Nick
On Tue, 15 Mar 2005, Jeffrey Andrews wrote:
Below, I've included a portion of my autoinst.xml that sets up the password stuff. Why doesn't my root user get his password set? Am I missing something or specifying something incorrectly?
<security> <console_shutdown>reboot</console_shutdown> <cwd_in_root_path>no</cwd_in_root_path> <cwd_in_user_path>no</cwd_in_user_path> <displaymanager_remote_access>no</displaymanager_remote_access> <enable_sysrq>no</enable_sysrq> <fail_delay>3</fail_delay> <faillog_enab>yes</faillog_enab> <gid_max>60000</gid_max> <gid_min>500</gid_min> <kdm_shutdown>root</kdm_shutdown> <lastlog_enab>yes</lastlog_enab> <obscure_checks_enab>no</obscure_checks_enab> <pass_max_days>99999</pass_max_days> <pass_max_len>16</pass_max_len> <pass_min_days>1</pass_min_days> <pass_min_len>6</pass_min_len> <pass_warn_age>14</pass_warn_age> <passwd_encryption>md5</passwd_encryption> <passwd_use_cracklib>yes</passwd_use_cracklib> <permission_security>secure</permission_security> <run_updatedb_as>nobody</run_updatedb_as> <system_gid_max>499</system_gid_max> <system_gid_min>100</system_gid_min> <system_uid_max>499</system_uid_max> <system_uid_min>100</system_uid_min> <uid_max>60000</uid_max> <uid_min>500</uid_min> </security> <users config:type="list"> <user> <username>root</username> <user_password>EE8863733EF4355A37D566F3DF2AD016</user_password> <encrypted config:type="boolean">true</encrypted> </user> -- Jeffrey Andrews <jandrews@lancope.com>
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- Jeffrey Andrews <jandrews@lancope.com>