On Wed, Aug 08, 2001 at 01:39:03PM +0000, [EMAIL PROTECTED] wrote:
> 
> Hi, 
> Vreau cu adduser sa adaug un user cu numele pe care il iau dintr-un script
> php si cu pass in clear si vreau sa-l fac user de sistem cu pass luat de
> php. 
> Am gasit ceva de genul useradd -p cucu planet 
> dar :
> -p passwd
>               The encrypted password, as returned by crypt(3).  The
>               default is to  disable the account.
> Care evident nu merge!
> Am cautat crypt(3) care este o functie care genereaza pass din clear in ce
> vrei tu dar ce  salt sa dau ca sa se poata crypta cum trebuie si sa
> mearga?

orice salt, preferabil ales random conform regulii:
    salt  is  a  two-character  string  chosen  from  the  set [a-zA-Z0-9./]


-- 
        ___
       <o-o>    Viorel ANGHEL <vang @ lug.ro>
       [`-']    
       -"-"-    In Linux We Trust.
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui