sudo lock file?
Daniel.King at fiserv.com
Wed Jan 15 17:31:29 EST 2003
Thanks, Todd. lockf for HP-UX. I'll be dusting off my c-manual for this item.
Thanks, April. I was not planning to use RCS, but it may have application here. I need to learn RCS anyway.
A. Daniel King,
From: Todd C. Miller
Sent: Tuesday, January 14, 2003 7:48 PM
To: King, Daniel
Cc: sudo-users at sudo.ws
Subject: Re: sudo lock file?
The locking is done on the sudoers file itself, not the sudoers
temp file. The actual locking is done by fileops.c in the current
version of sudo. The exact method it uses depends on what is
available on the system but basically it will use lockf() if
that is available otherwise it will use flock() or, if all else
fails, it will use fcntl() locking.
Does that answer your question?
More information about the sudo-users