Encrypted Oper Passwords not working.
Posted: Mon Mar 28, 2005 2:58 pm
I just installed UnrealIRCd and saw the portion in the documents about encrypting the Oper password. I tried both md5 and sha1 versions of a password, and can not oper with them. The same password in plain text works just fine, so the Oper block IS functional. I really want to get this working.
This is what I tried:
edited a file in vim and put the password in the file as the text, both with and without a newline at the end of the word. Used md5sum for md5 and openssl for sha1. Neither md5 nor sha1 with a newline nor without a newline on the end of the password works. I tried various versions of my password line as follows:
password "<md5hash>" { md5; };
password <md5hash> { md5; };
password "<md5hash" md5;
password <md5hash> md5;
and the same variations with sha1 instead, where <md5hash> is the output from the md5 command on the file I put the password in.
I suspect it's either my syntax in the oper file, or the way I'm generating the md5 / sha1 hashes, or both.
Any thoughts?
This is what I tried:
edited a file in vim and put the password in the file as the text, both with and without a newline at the end of the word. Used md5sum for md5 and openssl for sha1. Neither md5 nor sha1 with a newline nor without a newline on the end of the password works. I tried various versions of my password line as follows:
password "<md5hash>" { md5; };
password <md5hash> { md5; };
password "<md5hash" md5;
password <md5hash> md5;
and the same variations with sha1 instead, where <md5hash> is the output from the md5 command on the file I put the password in.
I suspect it's either my syntax in the oper file, or the way I'm generating the md5 / sha1 hashes, or both.
Any thoughts?