Page 1 of 1

Encrypt passwords in CONF file

Posted: Tue Dec 28, 2004 6:25 pm
by PhantomPowerz
I'm on a Windows XP box. I noticed when reading through the doc files that you can specify what encryption method you are using to encrypt passwords... "oper::password:: allows you to specify an authentication method for this password, valid auth-types are crypt, md5, and sha1, ripemd-160."

How do I encrypt my passwords so they are not in plaintext in the CONF file?

Posted: Tue Dec 28, 2004 6:45 pm
by Ron2K
First encrypt the string:

/MKPASS <method> <string>

Then you can use it like this:

Code: Select all

oper {
...
pass "encrypted-string" { method ;} ;
...
;
(I hope that syntax is right. Too lazy to check it right now.)