pwcrypt iconpwcrypt 1.2.2

pwcrypt is a command line interface to the crypt() function.
pwcrypt is a command line interface to the crypt() function. The program pwcrypt is a very small, easy to use program, that will accept a password on the command line, and return the crypt()'ed form of the password.

Here is an example for usage:

bash# pwcrypt -h
crypt v 1.2.1 - copyright 2000 A.L.Lambert

Usage: crypt [-mhVqd] [-s salt] password_to_crypt
-m = Employ MD5 encryption.
-q = Quiet mode - for use with 'cleartext | crypt'.
-h = This help message.
-V = Print version info and exit.
-s salt = Specify the salt to use

If you do not supply a password on the command line, you will be prompted for one (unless in quiet mode). All screen output is always done to stderr, allowing you to do things like
'pwcrypt > somefile',
whereby you will be prompted for the password, but all output will be redirected to somefile.

Use in shell scripts like this exmple of a proftpd-adduser script, for adding user accounts to a proftpd installation that uses a separate password file, to allow for a single system UID for ftp logins (note: this script contains little to no error-checking, but is entirely functional).

last updated on:
July 8th, 2006, 5:05 GMT
price:
FREE!
developed by:
A.L.Lambert
license type:
GPL (GNU General Public License) 
category:
ROOT \ System \ Monitoring

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

1 Screenshot
pwcrypt

Add your review!

SUBMIT