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>
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>
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>
reboot no no no no 3 yes 60000 500 root yes no 99999 16 1 6 14 md5 yes secure nobody 499 100 499 100 60000 500 </security> <users config:type="list"> <user> <username>root</username>EE8863733EF4355A37D566F3DF2AD016 <encrypted config:type="boolean">true</encrypted> </user> -- Jeffrey Andrews-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
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:
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>
1C4DFVM68V3xnFU <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>
reboot no no no no 3 yes 60000 500 root yes no 99999 16 1 6 14 md5 yes secure nobody 499 100 499 100 60000 500 </security> <users config:type="list"> <user> <username>root</username>EE8863733EF4355A37D566F3DF2AD016 <encrypted config:type="boolean">true</encrypted> </user> -- Jeffrey Andrews-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
--
Jeffrey Andrews
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:
md5 In my <user> section, the below is the md5 digested password.
EE8863733EF4355A37D566F3DF2AD016
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
hi all, i'm planning to migrate to SuSE 9.1 from Centos 3.3 which is runnig on my system right now. let me tell u at the start that i'm completely new to linux. i would like to know, if i can directly put the SuSE cd's into the drive and start installing. the system is relatively new, and doesn't have much data on it. so i don't stand to lose anything if SuSE completely overwrites everything. the hard disk has already been partitioned, would this create any problems. kindly let me know if i need to take any precautions before starting the installation. thanks for any help. bye. chaitanya. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hi,
Chaitanya Krishna A
let me tell u at the start that i'm completely new to linux.
I do not want to disappoint you, but I think you subscribed to the wrong mailing-list. This list deals with automatic installation procedures of SuSE Linux and its deriavates. You may want to subscribe to suse-linux-e@suse.com via http://www.suse.com/en/private/support/online_help/mailinglists/ This is just a quick hint from me for now: If you have a /home on a single partition, in your scenario you should be ok with formatting all other partitions leaving that one alone. bis dahin / kind regards Martin Mewes -- http://webmin.mamemu.de/
participants (5)
-
Björn Lotz
-
Chaitanya Krishna A
-
Jeffrey Andrews
-
Martin Mewes
-
Nicholas DeClario