NIS user problems: audio, plugdev ..
Mark Roach
mrroach at okmaybe.com
Mon Feb 21 15:53:31 UTC 2005
On Mon, 2005-02-21 at 15:57 +0100, kloschi at subsignal dot org wrote:
>On 20 Feb 2005, at 04:55, Mark Roach wrote:
>
>> On Fri, 2005-02-18 at 23:49 +0100, kloschi at subsignal dot org wrote:
>>
>>> I'm trying to figure problems with NIS users out.
>>> They are mentioned in /etc/passwd and /etc/group,
>>> but are - as usual - only in the groups defined
>>> on the nis server.
>>> As I have no access to the nis server, I get only
>>> users with their uid and gid 20.
>>> How to put those users in local groups?
>>
>> What's in your /etc/nsswitch.conf, specifically on the "group" line?
>> You will need to have both compat and NIS listed...
>>
>> Try "getent group <groupname>" to see if the membership looks as it
>> should. To see only local group membership, do "getent -s compat group
>> <groupname>"
>>
>> If it isn't working, try backing up a bit: remove the NIS bits, and see
>> if users who are only local have appropriate group membership.
>
>local users get appropriate membership.
>I'm looking for a solution to put NIS users into local groups
>with a wildcard. is that possible?
With a wildcard? I've no idea what you mean. It seems different than
your original question though... can you expound a bit, and give
specific examples such as:
"groups nisuser1" gives "users nisgroup1"
but /etc/group contains "foogroup:x:2000:nisuser1"
-Mark
More information about the ubuntu-users
mailing list