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

Re: Modifying /etc/group and /etc/passwd [RANT]

On Thu, Apr 27, 2000 at 01:12:23PM +0200, Torsten Landschoff wrote:
> BTW: This changes to /etc/group always break when using NIS. Funny stuff.
> Reason: People rely on having the user/group in the appropriate files 
> /etc/passwd or /etc/group respectively. So they grep for the group to add
> in /etc/group and if it is not there they call addgroup -> boom, group
> exists (via NIS).

Perhaps it is time to follow the grand linux tradition of improving
the underlying tools ??

IMHO the tools for manipulating users & groups should be able to deal
with the 3 current ways of keeping user information (files, NIS, NIS+)
and therefore be able to provide a consistent way of updating this 
information without the caller (in this case scripts) needing to know
what mechanism is used to store that information.

We could also do with a program that is callable from the scripts that
verifys the existence of the user/group (which if my thinking is correct
would merely be a wrapper around the appropriate C call)


> Alternatively they check using id or sg and if the group is there they
> try to delete it. So Debian is not very usable for machine pools anymore.
> Of course I can change the NIS config from the default (this could be done
> in the package) but then I have to manage all the groups locally if they
> have any sense. E.g. it is okay not to share the telnetd group per NFS 
> but lpadmin would be nice to have central.
> </rant>
> cu
>     Torsten
> -- 
> Torsten Landschoff           Bluehorn@IRC               <torsten@debian.org>
>            Debian Developer and Quality Assurance Committee Member
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: