Man page - radcrypt(8)
Packages contains this manual
- rlm_attr_filter(5)
- radlast(1)
- radwho(1)
- radrelay.conf(5)
- rlm_detail(5)
- rlm_unix(5)
- rad_counter(1)
- radiusd.conf(5)
- rlm_always(5)
- unlang(5)
- radzap(1)
- radcrypt(8)
- rlm_mschap(5)
- rlm_files(5)
- rlm_digest(5)
- rlm_sql(5)
- clients.conf(5)
- dictionary(5)
- radeapclient(1)
- radsqlrelay(8)
- rlm_realm(5)
- raddebug(8)
- rlm_ippool_tool(8)
- radsniff(8)
- radrelay(8)
- rlm_unbound(5)
- radclient(1)
- rlm_chap(5)
- radmin(8)
- rlm_passwd(5)
- rlm_sqlippool_tool(8)
- smbencrypt(1)
- rlm_counter(5)
- rlm_expr(5)
- rlm_idn(5)
- users(5)
- rlm_pap(5)
- radtest(1)
- checkrad(5)
- freeradius(8)
apt-get install freeradius-common
Manual
RADCRYPT
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
SEE ALSO
AUTHORS
NAME
radcrypt - generate password hash for use with radius, or validates a password hash
SYNOPSIS
radcrypt [ -d | --des ] [ -m | --md5 ] [ -c | --check ] plaintext_password [ hashed_password ]
DESCRIPTION
radcrypt 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 status 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 OK
SEE ALSO
radiusd(8), crypt(3)
AUTHORS
Miquel van Smoorenburg <miquels@cistron-office.nl>