Its not difficult. Write a script that executes the useradd binary or newusers binary. Regards, Sahil Gupta NET4U Limited ------------------------------------ NET4U -- www.net4u.co.nz Home of the new - $24.95 128k ADSL Nationwide Internet Service Provider ------------------------------------ On Wed, 3 Oct 2001, John Lynch wrote:
At 01:39 PM 10/3/2001 +0000, you wrote:
I'm sorry I'm not exactly willing to let go of the script. Part of what we do at Net4U is Linux System Administration. Our time is charged out for. Let me know.
Thought that might be the case, think I'll continue to write my own script, using the advice of Simon and a off list Tip from Richard Bain think I am almost there ...... Thanks for ya time anyway.
Regards,
Sahil Gupta NET4U Limited
------------------------------------ NET4U -- www.net4u.co.nz Home of the new - $24.95 128k ADSL Nationwide Internet Service Provider ------------------------------------
On Wed, 3 Oct 2001, John Lynch wrote:
At 01:14 PM 10/3/2001 +0000, you wrote:
hehehe :) Hmm... Okie Dokie.. The scripts are quite nice.. however, they require certain the newusers binary :)
cool, can they be sent as an attachment ???
Regards,
Sahil Gupta NET4U Limited
------------------------------------ NET4U -- www.net4u.co.nz Home of the new - $24.95 128k ADSL Nationwide Internet Service Provider ------------------------------------
On Wed, 3 Oct 2001, John Lynch wrote:
At 01:05 PM 10/3/2001 +0000, you wrote:
:) What is in it for me to release the code ? :) The knowledge that you have contributed to the open source caring and sharing community, that I am sure you have taken from in the past (Unless you a windows victim!!).
Regards,
Sahil Gupta NET4U Limited
------------------------------------ NET4U -- www.net4u.co.nz Home of the new - $24.95 128k ADSL Nationwide Internet Service Provider ------------------------------------
On Wed, 3 Oct 2001, John Lynch wrote:
> At 01:01 PM 10/3/2001 +0000, you wrote: > >John, > >I have a lovely script available. Contact me privately if you > >like. Infact my script also allows people to add Virtual Hosts :) > > sound's good to me !!! > > > >Regards, > > > >Sahil Gupta > >NET4U Limited > > > >------------------------------------ > > NET4U -- www.net4u.co.nz > > Home of the new - $24.95 128k ADSL > >Nationwide Internet Service Provider > >------------------------------------ > > > >On Wed, 3 Oct 2001, John Lynch wrote: > > > > > Hi people, I am trying to write some php3 code to add dialup users to the > > > unix passwd file, > > > I am issuing the system command to run useradd , this didn't work because > > > you need root permissions to running the command, so I thought, hmm i'll > > > just build a wrapper and run it suid root (probable very bad, but > > anyway..) > > > Now the wrapper get's the error cannot get file lock on /etc/passwd. Any > > > tips on why this might be happening or a better way to solve to problem > > > would be much appreciated. > > > > > > > > > John Lynch > > > System Administrator (string and tape specialist) > > > Wise Net > > > > > > --------- > > > To unsubscribe from nznog, send email to majordomo(a)list.waikato.ac.nz > > > where the body of your message reads: > > > unsubscribe nznog > > > > > John Lynch > System Administrator (string and tape specialist) > Wise Net >
John Lynch System Administrator (string and tape specialist) Wise Net
--------- To unsubscribe from nznog, send email to majordomo(a)list.waikato.ac.nz where the body of your message reads: unsubscribe nznog
John Lynch System Administrator (string and tape specialist) Wise Net
John Lynch System Administrator (string and tape specialist) Wise Net
--------- To unsubscribe from nznog, send email to majordomo(a)list.waikato.ac.nz where the body of your message reads: unsubscribe nznog