LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-24-2008, 06:45 AM   #1
Neavirc
LQ Newbie
 
Registered: Apr 2008
Posts: 12

Rep: Reputation: 0
How can I delete a group administrator?


I've read in the man page of gpasswd, that the following command can be used to create a group administrator:

Code:
sudo gpasswd -A some_user some_group
Is there any way to turn a group administrator into a normal member?
 
Old 06-24-2008, 09:35 AM   #2
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 545

Rep: Reputation: 33
I've been using Linux and Unix a long time and never used a group administrator.

I would think that you could simply delete the useraccount which has group admin rights and then recreate a regular user account to replace it. If the group admin has files you want to preserve just copy them to a tmp storage until you create the regular user account and then you can mv the files into the users home dir.
 
Old 06-24-2008, 02:36 PM   #3
Neavirc
LQ Newbie
 
Registered: Apr 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for your answer. Also works "gpasswd -A '' group_name", clearing list of administrators
 
  


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
Group administrator (or changing permissions and ownerships) rikis7 Programming 2 08-15-2007 12:22 AM
HELP! Delete myself from the admin group - UBUNTU Micro420 Linux - General 3 11-01-2006 06:33 PM
Delete group users from /etc/passwd SCRIPT wesleywest Linux - General 5 03-08-2005 09:59 AM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
delete a group with command line feetyouwell Linux - Software 1 01-27-2004 09:49 AM


All times are GMT -5. The time now is 08:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration