how to generate DES key for using with tacacs+ in Fedora 8
Hi,
I am trying to configure Tacacs+ in Fedora 8.The question is how do I generate the DES key for the user's password: user = test { default service = permit login = des xxxxxxxx expires = "Sep 1 2009 " Any ideeas? Thanks |
There should be an option in tacas+ to do that.
If not, you could use a program to build one yourself Quote:
|
Hi,
try using htpasswd utilily. It comes with apache2-utils package. |
Thanks a lot.Acctually I manage to generate the des key with the generate_passwd utility after a long search .... 'generate_passwd is a program to des encrypt a password like Unix. It prompts for the password to encrypt. You can optionally supply a salt to verify a password.'
|
Solution: use tac_pwd
Provided by: tacacs+_4.0.4.19-9_i386
NAME tac_pwd - generate DES encryption of a password SYNOPSIS tac_pwd [-eh] [salt] DESCRIPTION tac_pwd prompts for a clear-text password and produces a DES encryption of that password on stdout which may be used in lieu of the clear-text representation in the tac_plus.conf(5). The DES salt may be provide as a command-line argument. COMMAND-LINE OPTIONS -e Do not echo the plain-text password to the terminal. -h Display help message. |
All times are GMT -5. The time now is 05:04 PM. |