emir limar wrote:
Hi everyone again, Since PPP 2.4.0 is able to support MD5 Chap how can i set up chap/pap secreets.
Look at /usr/share/doc/packages/pam/README.md5 to see how to swithch your system to md5 encryption for passwords. There are some examples in there, which you should just copy to /etc/pam.d Then the next time you change passwords, it will be md5. Unfortunately, they don't give an example for ppp, but you probably could "copy the style" from the other examples to modify /etc/pam.d/ppp. I'm not sure what that wouls do for you. I'm not sure exactly what you are trying to do, but your password is already sent out encrypted over the wire, but it is unencrypted in pap/chap secrets. It should be protected by file permissions that only allow root to read them. You can go to www.dejanews.com and search for "pam md5 ppp" and you will read about the complexity of the situation. -- $|=1;while(1){print pack("h*",'75861647f302d4560275f6272797f3');sleep(1); for(1..16){for(8,32,8,7){print chr($_);}select(undef,undef,undef,.05);}}