For When You Can't Have The Real Thing
[ start | index | login ]
start > Sun > Jumpstart > root_password

root_password

Created by dave. Last edited by dave, 18 years and 93 days ago. Viewed 4,707 times. #1
[edit] [rdf]
labels
attachments

Regarding the root_password line in sysidcfg

(Allegedly relevant to Solaris 7)

Read the following section carefully before saving and closing the sysidcfg file:

  • Keep the /export/config/sysidcfg file open in an editor
  • Open a different window and display the server's /etc/shadow file
  • If our encrypted root password shown there contains a period and/or a slash, it will be unusable for the password transplant we are about to perform. To fix this:
  1. change the root password
  2. display the /etc/shadow file to confirm that all periods and slashes are gone from the encrypted password
  3. Perform this password change as many times as needed to remove periods and slashes
  4. Trick: you can even keep using the same password over and over again, since the encryption changes each time regardless of the original characters
  • Use the mouse to highlight root's encrypted thirteen character password
  • Paste the password into the /export/config/sysidcfg file's root_password= line
(Note: this didn't solve my problem.)
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt