Re: LSB specification for adding users and groups
Torsten Landschoff wrote:
> On Wed, Jun 16, 1999 at 11:33:02AM -0700, Erik Troan wrote:
>
> > Having to do a find and chown() across the entire system would take a
> > noticeable amount of time, and I don't want to start doing that unless
> > there is a real benefit to doing so. I'd love to know how debian has handled
> > uid changes in the past.
>
> Hehe - we have an "update-passwd" program which modifies /etc/passwd resp.
> /etc/group accordingly. Quoting the manpage:
>
> BUGS
> update-passwd is not very smart yet. It only updates the
> databases, it makes no attempt to assure system consis
> tency. If a uid/gid you're using on your system is elimi
> nated or changed, it could cause trouble.
>
> I would say that we could just run a find over the whole system with the
> exception of /home.
I've not looked at the usermod manpage of late, but I thought it had an
option that would do this in a more thoughtful manner?
-- Julie.
Reply to: