home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!mcsun!chsun!hslrswi!nebula!rculley
- From: rculley@hslrswi.hasler.ascom.ch (Roy Culley,85L2,Tel. x3534)
- Subject: NIS group map problem
- Message-ID: <1992Sep7.140232.25924@hasler.ascom.ch>
- Keywords: NIS /etc/group
- Sender: news@hasler.ascom.ch
- Reply-To: rculley@hslrswi.hasler.ascom.ch
- Organization: Ascom Hasler AG
- Date: Mon, 7 Sep 1992 14:02:32 GMT
- Lines: 24
-
- We have a strange problem here which we can't explain. From time to time users
- request to be added to another group. This is not their primary group specified
- in their passwd entry. Anyway, we add the user to the required group in /etc/group
- on the master NIS server and remake and push the map. The user then logs out and in
- again. When trying to access files with permissions rw-r----- (file belonging to
- the group the user has been added too) the response is permission denied. Running
- the 'id' command indicates the user not belonging to this group. Doing a ypcat on
- the group map shows that the user does belong to the group! In desparation we have
- even tried rebooting the workstation in case its caused by something being cached
- in memory but the problem remains. After a period of time (I cannot be precise but
- it is probably greater than 1 hour) the user finds on logging in that they now belong
- to the group. Another strange point is that at the time when the user doesn't appear
- to be in the group (output of 'id' command) the user can use the 'newgrp' command
- to make the group the default one!
-
- If anyone can explain this to me I will be most grateful. Our environment is sun3's
- and sun4's all running SunOs 4.1.1 or 4.1.2.
-
- ---
-
- Roy G. Culley, rculley@hslrswi.hasler.ascom.ch
- Ascom Hasler AG, Abt 85L2, Belpstrasse 23,
- CH 3000 Bern 14, Switzerland. Tel: +41 31 999 35 34, Fax: +41 31 999 37 35
-
-