Xref: utzoo unix-pc.general:112 comp.sys.att:1900 Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!lll-tis!ames!rutgers!mtune!icus!mozart!rosalia From: rosalia@mozart.UUCP (Mark Galassi) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: bug in newgrp? Message-ID: <152@mozart.UUCP> Date: 25 Dec 87 15:18:40 GMT References: <283@manta.UUCP> Reply-To: rosalia@mozart.UUCP (Mark Galassi) Organization: Mark Galassi Research, Stony Brook, New York Lines: 15 In article <283@manta.UUCP> brant@manta.UUCP (Brant Cheikes) writes: >There appears to be a bug involving newgrp (at least in V3.51). If I >add myself to another group in /etc/group, then try to newgrp to that >group, newgrp says "Sorry" and bombs. I had that problem also. I changed the order in /etc/group, and it started working. The problem is that your default group (the one in the passwd file) has to be before (if I remember right) all other groups you belong to. Or maybe viceversa. Try that one. In any case, I'm sure that it IS a bug, but I'm too lazy to read the docs on newgrp to find out how it should behave. -- Mark Galassi ...!mozart!rosalia { These opinions are mine and should be everybody else's :-) }