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?

  • 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

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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