Query: radcrypt
OS: centos
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RADCRYPT(8) System Manager's Manual RADCRYPT(8)NAMEradcrypt - generate password hash for use with radius, or validates a password hashSYNOPSISradcrypt [-d|--des] [-m|--md5] [-c|--check] plaintext_password [hashed_password]DESCRIPTIONradcrypt generates a hashed digest of a plaintext password, or can validate if a password hash matches a plaintext password. DES and MD5 hashes are currently supported. When generating a password hash a random salt is generated and applied. A hashed password can be validated by specifying -c or --check and passing hashed_password after plaintext_password on the command line. In this case hashed_password will be checked to see if it matches plaintext_password. If so "Password OK" will be printed and the exit sta- tus will be 1, otherwise "Password BAD" will be printed and exit status will be 0 (Note this is the opposite of a normal successful shell status).OPTIONS-d --des Use a DES (Data Encryption Standard) hash (default). Ignored if performing a password check. -m --md5 Use a MD5 (Message Digest 5) hash. Ignored if performing a password check. -c --check Perform a validation check on a password hash to verify if it matches the plantext password.EXAMPLES$ radcrypt foobar HaX0xn7Qy650Q $ radcrypt -c foobar HaX0xn7Qy650Q Password OKSEE ALSOradiusd(8), crypt(3)AUTHORSMiquel van Smoorenburg <miquels@cistron-office.nl> RADCRYPT(8)
Related Man Pages |
---|
passwd(1openssl) - opensolaris |
doveadm-pw(1) - centos |
radcrypt(8) - debian |
md5crypt(n) - osx |
password_verify(3) - php |
Similar Topics in the Unix Linux Community |
---|
Problem: Need to check if a string argument contains "-" |
Problem with Sprintf |
Using Cryptovault for Password |
Random password generation |
Shell commands and ps and server logs |