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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-08-2009, 12:13 AM
|
#1
|
LQ Newbie
Registered: Jan 2009
Posts: 21
Rep:
|
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
|
|
|
02-08-2009, 12:38 AM
|
#2
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep:
|
The question is: What do you want to fix and what's the name of the group?
|
|
|
02-08-2009, 12:39 AM
|
#3
|
LQ Newbie
Registered: Jan 2009
Posts: 21
Original Poster
Rep:
|
The name of the group is smbadm
I want it to be deleted
|
|
|
02-08-2009, 07:53 PM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415
|
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.
|
|
|
02-09-2009, 08:25 AM
|
#5
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep:
|
Be sure that smbadm is not a primary group of any user on the system.
Command; should remove the group form the system,but try it when the group is empty.Check all users on the system with the command; to see to which group each user belongs to.
|
|
|
02-09-2009, 09:09 AM
|
#6
|
LQ Newbie
Registered: Jan 2009
Posts: 21
Original Poster
Rep:
|
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.
|
|
|
02-09-2009, 09:23 AM
|
#7
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep:
|
Yes,the group exist.Please do what chrism01 and I have said no matter if the group exist in the /etc/group or not.
|
|
|
02-09-2009, 09:26 AM
|
#8
|
LQ Newbie
Registered: Jan 2009
Posts: 21
Original Poster
Rep:
|
Thanks, I believe that explains the cause of my problem.
|
|
|
02-09-2009, 09:51 AM
|
#9
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|