LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-03-2008, 04:49 AM   #1
Raakh
Member
 
Registered: May 2007
Posts: 128

Rep: Reputation: 15
Deleting user


I have a user but make it wheel user to access root. Now I want to exit this user from wheel i.e. didn't want to delete this user but just to remove from wheel group and to create a new user to make wheel user to access root

thanks & best regards
 
Old 01-03-2008, 04:51 AM   #2
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Did not understand.
 
Old 01-03-2008, 04:55 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I think the OP wants to do two things:

1. Remove a certain user from the wheel group
2. Create another user that has root powers

Is this correct? For the first thing, you'll need to edit /etc/group as root and remove the user from the relevant line (i.e. the one corresponding to the wheel group). For the second, well, why? What's wrong with just using the root account?
 
Old 01-03-2008, 12:25 PM   #4
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Nylex View Post
I think the OP wants to do two things:

1. Remove a certain user from the wheel group
2. Create another user that has root powers

Is this correct? For the first thing, you'll need to edit /etc/group as root and remove the user from the relevant line (i.e. the one corresponding to the wheel group). For the second, well, why? What's wrong with just using the root account?
I edited the /etc/group and removed the wheel user line but still exists. what else I have to do?

thanks for your reply
 
Old 01-03-2008, 12:30 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What still exists? Did you remove the entire line corresponding to wheel, or just the user's name from that line?
 
Old 01-03-2008, 12:57 PM   #6
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Nylex View Post
I think the OP wants to do two things:

1. Remove a certain user from the wheel group
2. Create another user that has root powers

Is this correct? For the first thing, you'll need to edit /etc/group as root and remove the user from the relevant line (i.e. the one corresponding to the wheel group). For the second, well, why? What's wrong with just using the root account?
I edited the /etc/group and removed the wheel user line but still exists. what else I have to do?

thanks for your reply
 
Old 01-03-2008, 04:57 PM   #7
lopoetve
Member
 
Registered: Aug 2001
Distribution: Too many.
Posts: 102

Rep: Reputation: 15
Quote:
Originally Posted by Raakh View Post
I edited the /etc/group and removed the wheel user line but still exists. what else I have to do?

thanks for your reply
what exactly did you erase and what is left of that line?
 
Old 01-03-2008, 07:55 PM   #8
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
OR, simply give the command:
Code:
userdel username
 
  


Reply



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
Deleting a User carlosinfl Linux - General 2 11-10-2005 01:33 PM
deleting a user joe k Linux - General 3 12-08-2004 06:31 AM
Deleting a user leecming Linux - Newbie 8 06-12-2004 02:17 PM
Deleting a user? WorldBuilder Linux - Software 1 03-28-2003 11:58 AM
removing/deleting a user cuss Linux - General 7 02-27-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:40 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