removing a user

Asked by srikumar on 2011-11-18

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:
2016-03-15
Last query:
2016-03-15
Last reply:
2011-11-18
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

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.

srikumar (ssrikumar) said : #3

Could we please close this question
Thank you
srikumar

srikumar (ssrikumar) said : #4

question is closed