Date: Sat, 8 Feb 2003 14:00:03 +0800 From: Adrian Chadd <adrian@freebsd.org> To: Giorgos Keramidas <keramida@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: adduser change: telling you when a group isn't there Message-ID: <20030208060003.GA31217@skywalker.creative.net.au> In-Reply-To: <20030208054207.GC986@gothmog.gr> References: <20030207081056.GA84685@skywalker.creative.net.au> <20030208054207.GC986@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 08, 2003, Giorgos Keramidas wrote: > It doesn't need to ( read as "should not" ) check for all the groups > involved, since when the group is the same as the username, it's > obvious that it will probably not exist. But if it already does, is > it an error? I think not, since one might want to create many users > who share the same group. > > What do you all think about the following patch then? [snip patch] I used pw to try and avoid directly hitting up file contents in case the admin has done something whacky in the nsswitch stakes. Everything else in adduser.sh uses pw AFAICT. Adrian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030208060003.GA31217>