PDA

View Full Version : generare password per Apache


texerasmo
22-03-2006, 11:42
Come posso generare un password per il file.htpasswd di apache?

VICIUS
22-03-2006, 12:01
Qui c'č un form: http://web9.2020media.com/other/htpasswd.jsp

ciao ;)

texerasmo
22-03-2006, 13:13
si ne avevo trovato uno anche io.
Da sistema posso farlo?

cionci
22-03-2006, 14:19
Si puņ... Le password vengono scritte direttamente nel file .htpasswd che ti interessa o in stdout:

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 (default).
-d Force CRYPT encryption of the password.
-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.

texerasmo
22-03-2006, 15:35
grazie