InterviewSolution
| 1. |
Solve : userdel, chown problem.? |
|
Answer» Hi, I have COME across a problem on my server. I am trying to delete an old user (samj), and create a new one (supersam). I cannot delete the old user as; [root web]# chown -R supersam root? So thats root access. Its a Sun Cobalt RaQ 550, running RaQ 550 OS, based on RH9.How about my other questions?I don't know how to do that :\. I have only been using linux around a month - plus I'm 14...Okay. Firstly I'd recommend installing a text editor that is not too difficult to use for a Linux newcomer. "joe" is a good choice. I'm assuming that since you've got this far, you know how to use the package management system? Otherwise, you're stuck with vi or emacs, both of which can be quite tricky to learn. If that's your lot, then try "man vi" to start learning how to use vi (a text editor). Once you're up to speed, you can then "vi /etc/passwd" and "vi /etc/shadow". Just delete the lines containing the user you want to remove. Or alternatively, change the username to the new username. |
|