-
From: David S Edwards <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 30, 1999 12:31 PM
Subject: Re: file locks..
> Have you tried looking at the source code for useradd to see what
mechanism
> it uses to lock the passwd file?
>
>
> At 06:19 AM 11/30/99
Have you tried looking at the source code for useradd to see what mechanism
it uses to lock the passwd file?
At 06:19 AM 11/30/99 -0500, you wrote:
>I have all this in place..bu the file locks is what is troubling me...
>
>Thx,
>Ani
>
>
> > I agree
> >
> &
>> Tired of adding/deleting users manually..I am writing my own perl scripts
to
>> automate the tasks for me...this I do by directly writing to the passwd
and
>> shadow files...(because I do not want to use Expect in the perl code)..It
>> works great and has eased my admin tasks to an extent..
>
Arni,
Concerning the file locking.
The lock provided in Perl is a co-operative locking. With that I mean
that if all applications adhere to the locking policy and implements the
lock over the protected object, then it is safe.
OTOH, any other application (Perl or whatever) may just ignore the
l
I have all this in place..bu the file locks is what is troubling me...
Thx,
Ani
> I agree
>
>
> see attached perl script for example...
> this is a cgi for adding users (I know *really big shudder*) that
> someone on this list previously asket for...
> it even creates
I agree
see attached perl script for example...
this is a cgi for adding users (I know *really big shudder*) that
someone on this list previously asket for...
it even creates the passwd salt/hash for the useradd...
"Yoink!" wrote:
>
> On Mon, 29 Nov 1999, Arni Raghu wrote:
> > Tired of add
On Mon, 29 Nov 1999, Arni Raghu wrote:
> Tired of adding/deleting users manually..I am writing my own perl scripts to
> automate the tasks for me...this I do by directly writing to the passwd and
> shadow files...(because I do not want to use Expect in the perl code)..It
> works great and has ease
Hi,
Tired of adding/deleting users manually..I am writing my own perl scripts to
automate the tasks for me...this I do by directly writing to the passwd and
shadow files...(because I do not want to use Expect in the perl code)..It
works great and has eased my admin tasks to an extent..
But one t