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

Re: add user ?




On Fri, 21 Feb 1997, Dave Kinchlea wrote:
> > > > How is /etc/group file locked ?

> There really are no standard programs that write to /etc/group, at least
> none that I can think of right now, reading really isn't a problem. 

Reading from /etc/group can be a problem - suppose you add a new user
you do not append /etc/group - you MODIFY it - add something to "users"
group, etc.
What will happen if some program reads /etc/group file when it is
half-writlen ?

Sasha




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