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

Re: add user ?



On Fri, 21 Feb 1997, Sasha Sobol wrote:
> 
> 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 ?

Then it will get incorrect or missing information but the file will not be
corrupt which is all that locking the file is supposed to prevent.

cheers, kinch




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