thanx to the following people for their help:
sbradley@iWarp.intel.com email@example.com stern@East.Sun.COM
firstname.lastname@example.org edy_J_Lemke@Princeton.EDU email@example.com
firstname.lastname@example.org email@example.com firstname.lastname@example.org
email@example.com firstname.lastname@example.org kkw@UCSD.EDU@ccrwest.UUCP
my original query:
when I update the /etc/group file on my NIS server and type
make in /var/yp to update all the other NIS clients the information
is rarely passed correctly. "groups user" gives a different result
than "groups" when run by a given "user". SOMETIMES IT WORKS FINE!
but other times it's a no-go.
the solution: push the netid map whenever you push the group file.
make sure you don't simply run "make" in /var/yp but rather
" make group netid ". Also, the change doesn't become effective
until the user re-logs in.
extra notes: the original shell won't show a change in the group info
because the group membership is determined at first login. The
"groups username" worked always because it uses a system call "getgroups"
instead of using what was determined at login time. One person suggested
running ypinit on both master and slave servers after any group
modification. This *does* work, but is not nessesary.
thanx to all.
| email@example.com -.- KLEIN BOTTLE FOR SALE ... \#######
| Shawn Edwin Koppenhoefer \_/ ... enquire within \######
| Sun System-Manager, EPFL (Ecole Polytechnique Federale de Lausanne) \#####
| EL-Ecublens, CH 1015 Lausanne SWITZERLAND (021)6934703 telefax=474660 \####
| from Canada dial: 011-41-21-693-4703 __________________________________|###
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:13 CDT