Red hat Linux 9 - deleting a user

I am very new to Linux - actually brand new and my first need to access a system is to remove a user. I have done some research and understand the basic commands etc. but I am not finding one to actually delete a user account. Can someone tell me how to do this. Thanks.
ainselybAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sundeepgopalCommented:
Its pretty simple ..
1)go in to root account
2)open the terminal
3)type "adduser username" or try "useradd username"
4)passwd username (for giving the password to a specified user)

5) for deleting a user
   userdel -r username

Now logout from the root account and login with useraccount

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ainselybAuthor Commented:
Thanks!
sundeepgopalCommented:
r u able to delete the useraccount ??...If you still need more information , you can always use red hat manuals .Once you open the web page ,you'll be conneted to redhat webpage and you can search for the required manual..try this to add a user graphically  
http://www.redhat.com/docs/manuals/linux/RHL-7.1-Manual/custom-guide/linuxconf-add-user-gen.html
sunilcomputerCommented:
Greetings ainselyb,
 
Use the following command to Delete a User :-

#userdel -r username

========================================================
Commands details :-

userdel [option] user

System administration command. Delete all entries for user in system account files.
Option
-r

    Remove the home directory of user and any files contained in it.
=========================================================

If you are new to linux go through below sites for help

All Linux Commands Explained :-

http://www.linuxdevcenter.com/linux/cmd/

Linux Books :-
http://www.linux.org/docs/online_books.html
sunilcomputerCommented:
you must have proper previlege to delete a user.
root is administrator of the machine and can perform any operation without restrictions.
when you log on using root login, your prompt will be a Hash    #

If by machine enters in Graphical mode you can go to command mode to run above command by pressing Alt + Ctrl + F2

there are 12 consloes possible in linux from Alt + Ctrl + F1 to F12
By default some of them are disabled.

Hope this help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.