how do i create a new user
im not sure what im doin wrong with this.
im using suse linux 7.0, how do i add a new user. please dont say use adduser because there is no command adduser. it doesnt seem to work properly i can never login as the user i have created thanx barkers |
Try useradd (as root)
man 8 useradd explains all. |
sorry should have siad, i have already been using tried useradd.
it creates a home directory and everything, but i cant login as that user. is there something else i need to do ive been doing it like this useradd -p mypasswd boogieman is this wrong |
When you specify the -p option you are setting the encrypted password.
Look in /etc/shadow and you'll see Try doing:- # useradd boogieman # passwd boogieman Then check out /etc/shadow again |
thanks
|
how do i delete a user??
it doesnt tell me in the man page. |
Try linuxconf from there you can add new users, delete users change group settings along with afew other things.
|
to remove a user without removing his/her home directory "userdel (username)
to remove a user and his/her directory "userdel -r (username)" to find and remove the users files thrughout the system: note the user ID from the password file before deleting. "find / -type f -uid (the users ID) -print -exec rm {} \;" |
also, check out userdel and usermod.
|
when i do
passwd (username) as root it says passwd:Module unknown or something like that, and doesnt let me change the password. i cant figure out why, is something not installed properly, or am i bein stupid |
All times are GMT -5. The time now is 10:11 AM. |