Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
You 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
Hi! 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
This 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
up vote 4 down vote accepted

just use userdel <username>. if you also want to remove the home directory and mail spool of the user use userdel -r <username>.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.