Share Pastebin
Guest
Public paste!

adminblogger

By: a guest | Apr 3rd, 2009 | Syntax: None | Size: 0.85 KB | Hits: 395 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. root@bommel:~>htpasswd
  2. Usage:  
  3.         htpasswd [-cmdpsD] passwordfile username
  4.         htpasswd -b[cmdpsD] passwordfile username password
  5.  
  6.         htpasswd -n[mdps] username
  7.         htpasswd -nb[mdps] username password
  8.  -c  Create a new file.
  9.  -n  Don't update file; display results on stdout.
  10.  -m  Force MD5 encryption of the password.
  11.  -d  Force CRYPT encryption of the password (default).
  12.  -p  Do not encrypt the password (plaintext).
  13.  -s  Force SHA encryption of the password.
  14.  -b  Use the password from the command line rather than prompting for it.
  15.  -D  Delete the specified user.
  16. On Windows, NetWare and TPF systems the '-m' flag is used by default.
  17. On all other systems, the '-p' flag will probably not work.
  18.  
  19.  
  20. root@bommel:~>htpasswd -s -n user
  21. New password:
  22. Re-type new password:
  23. user:{SHA}QL0AFWMIX8NRZTKeof9cXsvbvu8=
  24.  
  25. root@bommel:~>