I'm using Putty to connect to my Webserver. I'd like to know the command to delete a user I've set up a few days ago. Is there also a way to display all the users and their rights?
Asked
Active
Viewed 2.1k times
0
-
1You mean you have a user set up on the *server* that you want to delete using SSH as the interface (IOW you're trying to delete a user from the command line)? What is the operating system? – Bart Silverstrim Jan 19 '10 at 11:05
-
1Hi! The Operating System is Suse 10.3 (it's a Plesk webserver). I added a user using "useradd". Now I'd like to delete it. – waszkiewicz Jan 19 '10 at 11:07
-
2This is not really a question about Putty, ssh and Webservers. Those tags could be removed. The question is "How do I delete/remove a SUSE 10.3 user?" – pavium Jan 19 '10 at 11:56
-
Retagged the question. – PEra Jan 19 '10 at 12:32
1 Answers
8
just use userdel <username>
. if you also want to remove the home directory and mail spool of the user use userdel -r <username>
.

Christian
- 4,703
- 2
- 24
- 27