LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 02-08-2009, 12:13 AM   #1
seaking1
LQ Newbie
 
Registered: Jan 2009
Posts: 21
Thanked: 1
group won't die fc10


[Log in to get rid of this advertisement]
I have fedora 10 (2.6.27.5-117.fc10.x86_64) installed on a system and am having an issue with a group which apparently exists and has all users as members.

Before it was deleted, all of the users were removed from it but directories using this group with permissions of ?7? could be written to by anyone.

I have now deleted the group and it still appears to exist. I created a new directory and chgrp to the said group and the command completed successfully. I then changed the permissions to ?7? and every user could write to it.

Has anyone encountered this problem before or have any idea how to fix it?

Thank you
seaking1 is online now  
Tag This Post , , ,
Reply With Quote
Old 02-08-2009, 12:38 AM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Rijeka, Croatia
Distribution: Debian, blackPanther
Posts: 1,432
Blog Entries: 2
Thanked: 85
The question is: What do you want to fix and what's the name of the group?
alan_ri is offline     Reply With Quote
Old 02-08-2009, 12:39 AM   #3
seaking1
LQ Newbie
 
Registered: Jan 2009
Posts: 21
Thanked: 1

Original Poster
The name of the group is smbadm

I want it to be deleted
seaking1 is online now     Reply With Quote
Old 02-08-2009, 07:53 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 5.4
Posts: 7,428
Thanked: 325
You need to chown the dirs. Removing a group just removes the entry in/etc/groups. The dirs still exist and (in a listing) will default to showing the grp num instead of the name.
chrism01 is offline     Reply With Quote
Old 02-09-2009, 08:25 AM   #5
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Rijeka, Croatia
Distribution: Debian, blackPanther
Posts: 1,432
Blog Entries: 2
Thanked: 85
Be sure that smbadm is not a primary group of any user on the system.
Command;
Code:
delgroup smbadm
should remove the group form the system,but try it when the group is empty.Check all users on the system with the command;
Code:
groups username
to see to which group each user belongs to.
alan_ri is offline     Reply With Quote
Old 02-09-2009, 09:09 AM   #6
seaking1
LQ Newbie
 
Registered: Jan 2009
Posts: 21
Thanked: 1

Original Poster
If there is a user in the /etc/passwd with a primary group that does not exist in /etc/group does the group 'exist'. You said use delgroup - the group does not exist in /etc/group.
seaking1 is online now     Reply With Quote
Old 02-09-2009, 09:23 AM   #7
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Rijeka, Croatia
Distribution: Debian, blackPanther
Posts: 1,432
Blog Entries: 2
Thanked: 85
Yes,the group exist.Please do what chrism01 and I have said no matter if the group exist in the /etc/group or not.
alan_ri is offline     Reply With Quote
Old 02-09-2009, 09:26 AM   #8
seaking1
LQ Newbie
 
Registered: Jan 2009
Posts: 21
Thanked: 1

Original Poster
Thanks, I believe that explains the cause of my problem.
seaking1 is online now     Reply With Quote
Old 02-09-2009, 09:51 AM   #9
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Rijeka, Croatia
Distribution: Debian, blackPanther
Posts: 1,432
Blog Entries: 2
Thanked: 85
Well,you've asked for a solution not for a explanation. --Just kidding.
As chrism01 said when you delete a group from the /etc/group with the command groupedel you're deleting the entry in the /etc/group but there are more files in the system which are in relation with the group.delgroup is a command for deleting a group from the system.For detailed information please search LQ or use Google.
alan_ri is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
LXer: Open source must die die die LXer Syndicated Linux News 0 01-28-2006 09:16 PM
Die Miva, Die! Apache Woes, Cannot kill Miva linchat Linux - Software 3 09-16-2005 09:03 PM
Die, lotus notes, die (sorry for ranting) slackist General 10 01-10-2005 11:42 AM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 05:01 PM
Die Caps lock Die! tfdml37 Linux - General 1 06-26-2004 03:00 AM


All times are GMT -5. The time now is 09:41 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration