adding a user to multiple groups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> [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




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux