Oded Arbel wrote:
> On 10 May 1999, Oleg Goldshmidt wrote:
>
> > Elchanan Sharon <[EMAIL PROTECTED]> writes:
> >
> > > I am looking for a perl script that adds user
> > > to linux OS.
> > > You can point me to RTFM pointer
> > > if the answer is too obvious.
> >
> > Will a bash script do? Look fo
On Tue, 11 May 1999, James Olin Oden wrote:
> Oded Arbel wrote:
>
> > you need to write a c program to do this, otherwise it's as secure as
> > posting your passwords on a bill board (not that the whole practice is
> > very secure, but it's better then letting your non-techs hang around in
> >
> I am looking for a perl script that adds user
> to linux OS.
> You can point me to RTFM pointer
> if the answer is too obvious.
You may try WebMin http://www.webmin.com/webmin/
Best Regards
Semion Lisyansky
You can use expect shell
set password [lindex $argv 1]
spawn passwd [lindex $argv 0]
expect "password:"
sleep .01
send "$password\r"
expect "password:"
sleep .01
send "$password\r"
expect eof
Mike
Oded Arbel wrote:
> On 10 May 1999, Oleg Goldshmidt wrote:
>
> > Elchanan Sharon <[EMAIL PROTEC
On 10 May 1999, Oleg Goldshmidt wrote:
> Elchanan Sharon <[EMAIL PROTECTED]> writes:
>
> > I am looking for a perl script that adds user
> > to linux OS.
> > You can point me to RTFM pointer
> > if the answer is too obvious.
>
> Will a bash script do? Look for adduser. It's probably
> /usr/sbi
Elchanan Sharon <[EMAIL PROTECTED]> writes:
> I am looking for a perl script that adds user
> to linux OS.
> You can point me to RTFM pointer
> if the answer is too obvious.
Will a bash script do? Look for adduser. It's probably
/usr/sbin/adduser, but your mileage may vary.
--
Oleg Goldshmidt
Hello to all list members,
I am looking for a perl script that adds user
to linux OS.
You can point me to RTFM pointer
if the answer is too obvious.
--
ElchananSharon
tel(W): +972-9-8638055
tel(H): +972-3-6047533
fax: +972-9-8656552
email:[EMAIL PROTE