R: [Pluto-help] Aiuto Perl - Change Password
Christian Cioni
christian.cioni a magnetek.it
Mar 9 Lug 2002 11:53:21 CEST
Con la definizione system("autopasswd utente password") riesco ad eseguire
il comando,
però, che tu sappia, è possibile settare l'utente nell'esecuzione del
comando?
Attualmente l'utility risponde come segue:
spawn passwd cioni passwd: Only root can specify a username
-----Messaggio originale-----
Da: Andrea Ligabue [mailto:ligabue a chi02.unimo.it]
Inviato: martedì 9 luglio 2002 10.46
A: Christian Cioni
Oggetto: Re: [Pluto-help] Aiuto Perl - Change Password
> Devo passare al sistema la nuova password
>
> Autopasswd username newpasswd
>
> Autopasswd è un'applicativo per passare la password in maniera automatica
a
> passwd.
>
> Come posso realizzare questo da la mia pagina perl?
se fai
`Autopasswd $username $newpasswd`
non funziona ?
forse e' meglio (piu' sicuro)
system("Autopasswd","$username","$newpasswd")
ciao
Andrea
----------------------------------------------------------
There's no honorable way to kill, no gentle way to destroy.
There is nothing good in war. Except its ending.
-- Abraham Lincoln, "The Savage Curtain", stardate 5906.5
----------------------------------------------------------
tel +39 059 2055115
More information about the pluto-help
mailing list