于 2012年07月10日 20:30, Fabian Deutsch 写道:
Am Dienstag, den 10.07.2012, 10:34 +0800 schrieb Eli Qiao:
        * Can I ask that what should I do if I want to set a
password in
          the bootparameters such rootpw=XXX
what XXX like ?

I generate the passwd by doing this :
   perl -e 'print crypt("123",q($1$IPPBXADM)),"\n"'
$1$IPPBXADM$UwX5u7LVJoJ/EJfG4d8HC1

but when I type 123 , it's shows I am input a wrong password ,
what
encryption does node use ? md5 or sha1 ?
I just know that you can use the openssl passwd command to
generated a
valid password hash, e.g.:

$ openssl passwd -salt foo bar
foXrpAKGo3142

This hash can be used as a karg: adminpw=foXrpAKGo3142
Better to use openssl passwd -1 and then enter and verify the
password.

$ openssl passwd -1
Password:
Verifying - Password:
$1$9RXa7lLR$RV46M2aZyxadZQudooryH.

To set the root password, you use:
rootpw=$1$9RXa7lLR$RV46M2aZyxadZQudooryH.

Mike

I install the node again with this boot parameter
rootpw=$1$9WKUWRlf$JHCMWqVRi4BwKabafB43o.

it showed that screen ,and the TUI didn't load
Did you install the system via auto-install or a normal TUI
installation?

I think so , I just add rootpw in the boot parameters
Greetings
fabian




--
Thanks. Best regards. --Eli Qiao

_______________________________________________
node-devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-devel

Reply via email to