Silviu Marin-Caea wrote:
>E vreo comanda cu care pot sa obtin hash-ul crypt?
>
>Ceva gen "crypt parola_in_clar" si sa afiseze parola criptata.
>
>E vorba de crypt-ul clasic, din man crypt.
>
>
>---
>Detalii despre listele noastre de mail: http://www.lug.ro/
>
>
>
>
>
>
[EMAIL PROTECTED]> ~>/usr/local/bin/htpasswd
Usage:
htpasswd [-cmdpsD] passwordfile username
htpasswd -b[cmdpsD] passwordfile username password
htpasswd -n[mdps] username
htpasswd -nb[mdps] username password
-c Create a new file.
-n Don't update file; display results on stdout.
-m Force MD5 encryption of the password.
-d Force CRYPT encryption of the password (default). <----------------
adica asta?
-p Do not encrypt the password (plaintext).
-s Force SHA encryption of the password.
-b Use the password from the command line rather than prompting for it.
-D Delete the specified user.
On Windows, NetWare and TPF systems the '-m' flag is used by default.
On all other systems, the '-p' flag will probably not work.
--
Atena 2004, boxing analyst: "Sure there have been injuries, and even some deaths in
boxing, but none of them really that serious."
---
Detalii despre listele noastre de mail: http://www.lug.ro/