Re: adding a user to multiple groups

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

 



[root@acmegrid1 ~]# /etc/init.d/nscd stop
Stopping nscd:                                             [  OK  ]
[root@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@acmegrid1 ~]# /etc/init.d/nscd stop
Stopping nscd:                                             [  OK  ]
[root@acmegrid1 ~]# id -G test
1234
[root@acmegrid1 ~]# /etc/init.d/nscd start
Starting nscd:                                             [  OK  ]
[root@acmegrid1 ~]# id -G test
1234

still no gID 14....?


--- Pete Rowley <prowley@xxxxxxxxxx> 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@xxxxxxxxxx
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@xxxxxxxxxx
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux