How can i set up chap-pap secrets for MD5 CHAP auth.?
Hi everyone again, Since PPP 2.4.0 is able to support MD5 Chap how can i set up chap/pap secreets. On the other hand it says on the read me's for chap/pap secrets add your name and password. Where are we adding these line beginning of the file or end of the file? For example my Login name <emin>and password is <abc> . In this case where am i adding ? I think the format should be emin * abc * Any help appreciated thx emin Following is my chap-secrets file: "LN"*"online" "anything"*"anything" "arcor"*"internet" "call"*"pop" "esprit"*"telecom" "goOnline"*"bundesweit" "knuut"*"knuut" "otelo"*"online" "talknet"*"talknet" "yahoo"*"yahoo" "online@trade"*"online" "GBO"*"NET" "gast@germanynet.de"*"frei lassen" "GlobalServe"*"fastaccess" "ndh"*"ndh" "speed21"*"speed21" "internet@spray.net"*"surfen"
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);}}
participants (2)
-
emir limar
-
zentara