Hi Nick! I'm setting the root password with a postinstall script. First, you have to get the encrypted password you want to set for "root" from a /etc/shadow file (the second field in this file). Then specify a postinstall-script doing this: usermod -p your-encrypted-password-from-shadow root This works for me in 8.2, 9.0, 9.1 Best regards Ing. Wolfgang Skabrond -- TWS Datensysteme Ges.m.b.H. Cobenzlgasse 32/3 A-1190 Wien Tel.: +43/1/32 9 32-0 Fax: +43/1/32 9 32-30 WWW: http://www.tws.at E-Mail: skabrond@tws.at --- Nicholas DeClario schrieb am 08.09.2004, 22:43 ---
Hey guys. During my auto install I want a default root password to be put in place. I checked numberous documentation and searched quite a bit and couldn't come up with anything. I was going to just do something like 'echo "password" | passwd root --stdin' in a post-install script but the 'passwd' included in SuSE does not support the --stdin option I've seen in the past. I would prefer not to hack up passwd to add this functionality as well.
Am I missing something obvious? Is there anyway this can be done? Any help would be appreciated.
Thanks, -Nick