X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=tools%2FREADME;fp=tools%2FREADME;h=0000000000000000000000000000000000000000;hb=fcf52c3281ec0807468c78e99bf330dc95d3cdaf;hp=8547bd53646284fabc2797e76126b028797ee6c8;hpb=445d6eb3d126fb8a01e7b436fd53af5a1cfd0b58;p=ircu2.10.12-pk.git diff --git a/tools/README b/tools/README deleted file mode 100644 index 8547bd5..0000000 --- a/tools/README +++ /dev/null @@ -1,63 +0,0 @@ -/************************************************************************ - * IRC - Internet Relay Chat, tools/README - * Copyright (C) 1991 Nelson Minar - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 1, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -The change implemented here is that the operator password in irc.conf -is no longer stored in plaintext form, but is encrypted the same way -that user passwords are encrypted on normal UNIX systems. Ie, instead -of having - - O:*:goodboy:Nelson - -in your ircd.conf file, you have - - O:*:sCnvYRmbFJ7oI:Nelson - -You still type "/oper Nelson goodboy" to become operator. However, if -someone gets ahold of your ircd.conf file, they can no longer figure -out what the password is from reading it. There are still other -security holes, namely server-server passwords, but this closes one -obvious problem. - -So, how do you generate these icky looking strings for passwords? -There's a simple program called mkpasswd to do that for you. To -compile mkpasswd, just "make -f Makefile.crypt" in this directory. After it -compiles, just run mkpasswd, and at the prompt type in your plaintext passwor\ -d. -It will spit out the encrypted password, which you should then just copy -into your ircd.conf file. This should be done only when adding new passwords -to your ircd.conf file. Crypting of oper passwords is automatically done -with the new F:lines so there is nothing to enable to be able to use -crypted oper passwords. All you have to do is edit the Makefile.crypt in this -directory and change "IRCDCONF = /usr/local/lib/irc/ircd.conf" to the full -path to your ircd.conf file. Then "make -f Makefile.crypt install" in this -directory to replace all the operator passwords in your ircd.conf file -with the encrypted format. - -Choose your passwords carefully. Do not choose something in a -dictionary, make sure its at least 5 characters. Anything past 8 -characters is ignored. - -One thing to note about crypt() passwords - for every plaintext, there -are 4096 different passwords. Some valid encryptions of "goodboy" -include t1Ub2RhRQHd4g sCnvYRmbFJ7oI and Xr4Z.Kg5tcdy6. The first -two characters (the "salt") determine which of the 4096 passwords -you will get. mkpasswd chooses the salt randomly, or alternately -will let you specify one on the command line. - -see also - crypt(3)