[Fedora-directory-users] adding a user to multiple groups

Sharpe, Sam J sam.sharpe at imperial.ac.uk
Wed Mar 15 08:48:21 UTC 2006


>> [root at acmegrid1 ~]# /etc/init.d/nscd stop
>> Stopping nscd:                                             [  OK  ]
>> [root at acmegrid1 ~]# id -G test
>> 1234

> If you are running nscd you need to try
> as root service nscd reload

What Sarah did is stop nscd, then did an id lookup while nscd is  
stopped. It is certainly a valid test.

The problem is that a stop/start does not invalidate the nscd cache -  
a simple "nscd -i passwd ; nscd -i group" will do that without a  
service reload.


On 15 Mar 2006, at 06:54, Douglas Hussey wrote:

> If you are running nscd you need to try
> as root service nscd reload
>
> Just stop and starting will not do the trick.
>
> cheers
> Doug
> On Mar 14, 2006, at 10:00 PM, Susan wrote:
>
>> Nop, I checked that:
>> [root at acmegrid1 ~]# /etc/init.d/nscd stop
>> Stopping nscd:                                             [  OK  ]
>> [root at acmegrid1 ~]# id -G test
>> 1234
>> [root at acmegrid1 ~]# /etc/init.d/nscd start
>> Starting nscd:                                             [  OK  ]
>> [root at acmegrid1 ~]# id -G test
>> 1234
>>
>> still no gID 14....?
>>
>>
>> --- Pete Rowley <prowley at redhat.com> wrote:
>>
>>> Susan wrote:
>>>
>>>> gid 14 doesn't show up.  What am I doing wrong here?  Is this  
>>>> not how you add a user to
>>> multiple
>>>> groups??
>>>>
>>>>
>>>>
>>> Perhaps you have nscd running and you are getting a cached answer?
>>>
>>> -- 
>>> Pete
>>>
>>>> --
>>> Fedora-directory-users mailing list
>>> Fedora-directory-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>>
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>> --
>> Fedora-directory-users mailing list
>> Fedora-directory-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
> =================================
> Douglas Hussey
> Systems Engineer
> SAIC
> Cell: 571-201-1294
> DSN: 318-835-1442
> FAX: 703-253-1061
> =================================
> Walking the road to enlightenment... I found a penguin and a camel  
> on the way.
>
>
>
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users




More information about the Fedora-directory-users mailing list