[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] PHP Script / Unix system
- Subject: Re: [cobalt-users] PHP Script / Unix system
- From: Marco Baurdoux <linux@xxxxxxxxxxxxx>
- Date: Sun Sep 23 18:08:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi rapheal,
What you could use is this string
system("perl -e 'crypt($password, $salt);'");
and add this directly into the password file, take a look at how Cobalt do
it in their User.pm module located in /usr/lib/perl5/site_perl/5.003/Cobalt.
At least on a RaQ3.
Hey Zeffie,
look I added that this will work for a Raq3 :-))
le 24.9.2001 1:52, Rafael Azevedo à cobalt@xxxxxxxxxxxx a écrit :
> Hi,
>
> I'm developing a PHP System which will have everything, it will be almost
> like a Cobalt system, but even better. What I want to do now, is change the
> user password using a PHP script, can it be done using system(""); or any
> other command on PHP? Is there any script in PHP that does that? I can't
> change the user password using "system("passwd user newpass"); cause it
> needs confirmation of the password and the string is not correct, does
> anybody here knows how to do that?
>
> Please, e-mail me back if you know anything about this.
>
> Thank you,
>
> Rafael Azevedo
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
=======================================================================
Marco Baurdoux
Unix Administrator
Infomaniak Network SA
Avenue de la Praille 26
1227 Carouge
Switzerland
Tel: +41 (0)22 820 35 41
Fax: +41 (0)22 820 35 46
http://web.infomaniak.ch
Linux/Unix is very user friendly,
it's just very picky about who its friends are !!!
=======================================================================