LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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


Reply
  Search this Thread
Old 02-07-2009, 11:13 PM   #1
seaking1
LQ Newbie
 
Registered: Jan 2009
Posts: 21

Rep: Reputation: 16
group won't die fc10


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
 
Old 02-07-2009, 11:38 PM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
The question is: What do you want to fix and what's the name of the group?
 
Old 02-07-2009, 11:39 PM   #3
seaking1
LQ Newbie
 
Registered: Jan 2009
Posts: 21

Original Poster
Rep: Reputation: 16
The name of the group is smbadm

I want it to be deleted
 
Old 02-08-2009, 06:53 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
 
Old 02-09-2009, 07:25 AM   #5
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
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.
 
Old 02-09-2009, 08:09 AM   #6
seaking1
LQ Newbie
 
Registered: Jan 2009
Posts: 21

Original Poster
Rep: Reputation: 16
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.
 
Old 02-09-2009, 08:23 AM   #7
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Yes,the group exist.Please do what chrism01 and I have said no matter if the group exist in the /etc/group or not.
 
Old 02-09-2009, 08:26 AM   #8
seaking1
LQ Newbie
 
Registered: Jan 2009
Posts: 21

Original Poster
Rep: Reputation: 16
Thanks, I believe that explains the cause of my problem.
 
Old 02-09-2009, 08:51 AM   #9
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
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.
 
  


Reply

Tags
ghost, group, persistant


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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