LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-28-2006, 01:01 PM   #1
captain chaos
Member
 
Registered: Feb 2006
Location: North England
Distribution: Slackware 10.2 (kernel 2.6.13)
Posts: 74

Rep: Reputation: 15
User accounts


How can I remove a user account, please.
If a user is created in Root group does that user have Root rights to edit/delete files.
 
Old 02-28-2006, 01:36 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You can use userdel username to delete the user's information from the passwd and group files (along with their shadow information). You can use userdel -r username to delete the user's home directory (and the files it contains) as well.

Adding a user to root's group doesn't give them all of root's rights. For example, I can cd to /root but I can't list the files in /root or delete any of them (directory and files all have permissions of 000 for anyone except root) as a user in group 0. At least, I couldn't just now when I tried it...
 
Old 03-01-2006, 04:24 PM   #3
captain chaos
Member
 
Registered: Feb 2006
Location: North England
Distribution: Slackware 10.2 (kernel 2.6.13)
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks gilead for reply
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User Accounts Cool_Hand_Luke Linux - Newbie 6 08-24-2005 08:35 PM
user accounts metallica1973 Linux - Security 2 06-19-2005 05:35 PM
User Accounts Verbal Kint Linux - Security 12 06-18-2005 12:11 AM
User Accounts petey *BSD 4 09-26-2002 09:28 AM
User Accounts afair Linux - Newbie 3 09-19-2002 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration