Is There Anyone Still Using Suse 9.3? Please Help... zzz
In Suse9.3, is it possible to add a user via directly editing the file /etc/passwd?
I manually inserted a new line below into the passwd file: exuser::3:3::/:/bin/bash But when I >su exuser in bash, there is no prompt of entering any password, and it just prompted su: incorrect password Well, I suppose the password for this new user should be blank. ...What's possibly going wrong? Is there anyone having a test of this? :) Many 3ks! |
You need to use the useradd command.
Or use yast. |
Well, I am just curious about this. Because I can add user in this way under many other Linux OSs but only except this Suse 9.3....why?
|
Because Suse uses shadow password files, usually blowfish, and su is only granted to known users. You can manually edit a bunch of files but why bother. That is what the useradd program is for, and you can run if from a script.
|
All times are GMT -5. The time now is 12:50 AM. |