users
[Top] [All Lists]

Re: Unix group memberships

To: "Hudson, Loren (GE Infra, Aviation, Non-GE, US)" <loren.hudson@xxxxxx>
Subject: Re: Unix group memberships
From: Scott Balmos <sbalmos@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Dec 2007 19:21:40 -0500
Authentication-results: gwout1 smtp.user=sbalmos; auth=pass (LOGIN)
Cc: users@xxxxxxxxxx
Delivered-to: mailing list users@xxxxxxxxxx
In-reply-to: <0BE974242D712B4B86B49792A69D789C02C37F1F@xxxxxxxxxxxxxxxxxxxxxxxx>
Mailing-list: contact users-help@xxxxxxxxxx; run by ezmlm
References: <0BE974242D712B4B86B49792A69D789C02C37F1F@xxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
Mike,

Check /etc/nsswitch.conf . Group membership is determined by NSS. /etc/group corresponds to the "files" entry for the "group:" config line in that conf file. Other possibilities might be NIS, LDAP, etc. I'm also assuming you've tried doing the "id <username>" command to see what group memberships everything thinks they have, I think there's also the "members <groupname>" command in some flavors of Linux and BSD.

--Scott

Hudson, Loren (GE Infra, Aviation, Non-GE, US) wrote:
All,
I'm hoping to find a UNIX/Linux guru, and I figured this would be the place to find one. I'm having an issue with my groups. I recently had some users added to a group, and they don't seem to really be in that group, despite what /etc/group says. I've specified a script to be group-runnable and it can't be run by other users in the group. The directory structure may be important in that the group should be able to get down to my level /path/to/me because /path and /path/to have other r-x perms . However, the /path/to/me/ directory has group rwx permissions (all three) without having any "other" permissions. This is a 1000+ user system. Do any of you have any idea what may be happening? I've RTFM like all day, and I'm still missing something. Thanks, Mike Hudson
MDW - Military Data Warehouse
Java Developer/Solution Architect
Sogeti Consultant
loren.hudson@xxxxxx <mailto:loren.hudson@xxxxxx>
Desk: 513-243-3663


<Prev in Thread] Current Thread [Next in Thread>