Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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
1  
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
2  
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

1 Answer 1

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

 
discard

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.