Re: New!!!: Base-passwd 2.0
On Wed, 22 Jan 1997 22:16:20 EST Jean Pierre LeJacq
(jplejacq@quoininc.com) wrote:
> On Wed, 22 Jan 1997, Philippe Troin wrote:
>
> > On Wed, 22 Jan 1997 21:49:31 +0200 Lars Wirzenius (liw@iki.fi) wrote:
> >
> > > Philippe Troin:
> > > > Is there a debian standard way of [ locking /etc/passwd and friends ] ?
> >
> > Let's do it the same way that we lock the mailboxes then ?
> > If I remember right, it consists in:
> > 1) Create a dummy file in the same directory
> > 2) Hardlink it to the local file (/etc/passwd.lock and /etc/group.lock,
> > possibly /etc/shadow.lock)
> > 3) Change your stuff...
> > 4) Unlink the tmpfile and the dummy file.
>
> I believe that FHS reguires lock files to go into /var/lock.
> Is there any reason not to follow their lead?
I thought only device lock would go into /var/lock...
Daniel, can you tell us more about this ?
I think mailbox locks are placed in the /var/spool/mail directory right ?
Phil.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: