removing a user

Asked by srikumar

I tried to add a user name "staff" using
sudo adduser staff - in the terminal
and the reply was that the user "staff" already exists.
However the user "staff" does not appear in the login screen.

So I want to remove the user "staff"
What is the command for this.

any suggestions ?
thank you
srikumar

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
srikumar
Solved:
Last query:
Last reply:
Revision history for this message
Lalatendu Mohanty (then4way) said :
#1

sudo deluser username

I hope below link will help

https://help.ubuntu.com/8.04/serverguide/C/user-management.html

Revision history for this message
delance (olivier-delance) said :
#2

Check existence of a folder /home/staff.
On some Unix system, user is removed from user database, but not its home directory, which must be done manually.

Revision history for this message
srikumar (ssrikumar) said :
#3

Could we please close this question
Thank you
srikumar

Revision history for this message
srikumar (ssrikumar) said :
#4

question is closed