Re: file locks..

1999-11-30 Thread Arni Raghu
- 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

Re: file locks..

1999-11-30 Thread David S Edwards
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 > > > &

Re: file locks..

1999-11-30 Thread Iain Wade
>> 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.. >

Re: file locks..

1999-11-30 Thread Gustav Schaffter
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

Re: file locks..

1999-11-30 Thread Arni Raghu
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

Re: file locks..

1999-11-29 Thread Mike Cathey
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

Re: file locks..

1999-11-29 Thread Yoink!
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

file locks..

1999-11-29 Thread Arni Raghu
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