Advertisement
lifeboy

pap-secrets

Jun 18th, 2013
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.34 KB | None | 0 0
  1. #
  2. # /etc/ppp/pap-secrets
  3. #
  4. # This is a pap-secrets file to be used with the AUTO_PPP function of
  5. # mgetty. mgetty-0.99 is preconfigured to startup pppd with the login option
  6. # which will cause pppd to consult /etc/passwd (and /etc/shadow in turn)
  7. # after a user has passed this file. Don't be disturbed therefore by the fact
  8. # that this file defines logins with any password for users. /etc/passwd
  9. # (again, /etc/shadow, too) will catch passwd mismatches.
  10. #
  11. # This file should block ALL users that should not be able to do AUTO_PPP.
  12. # AUTO_PPP bypasses the usual login program so it's necessary to list all
  13. # system userids with regular passwords here.
  14. #
  15. # ATTENTION: The definitions here can allow us#
  16. # /etc/ppp/pap-secrets
  17. #
  18. # This is a pap-secrets file to be used with the AUTO_PPP function of
  19. # mgetty. mgetty-0.99 is preconfigured to startup pppd with the login option
  20. # which will cause pppd to consult /etc/passwd (and /etc/shadow in turn)
  21. # after a user has passed this file. Don't be disturbed therefore by the fact
  22. # that this file defines logins with any password for users. /etc/passwd
  23. # (again, /etc/shadow, too) will catch passwd mismatches.
  24. #
  25. # This file should block ALL users that should not be able to do AUTO_PPP.
  26. # AUTO_PPP bypasses the usual login program so it's necessary to list all
  27. # system userids with regular passwords here.
  28. #
  29. # ATTENTION: The definitions here can allow users to login without a
  30. # password if you don't use the login option of pppd! The mgetty Debian
  31. # package already provides this option; make sure you don't change that.
  32.  
  33. # INBOUND connections
  34.  
  35. # Every regular user can use PPP and has to use passwords from /etc/passwd
  36. *       pptpd   ""      *
  37.  
  38. # UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
  39. # other accounts that should not be able to use pppd!
  40. guest   pptpd   "*"     -
  41. master  pptpd   "*"     -
  42. root    pptpd   "*"     -
  43. support pptpd   "*"     -
  44. stats   pptpd   "*"     -
  45.  
  46. # OUTBOUND connections
  47.  
  48. # Here you should add your userid password to connect to your providers via
  49. # PAP. The * means that the password is to be used for ANY host you connect
  50. # to. Thus you do not have to worry about the foreign machine name. Just
  51. # replace password with your password.
  52. # If you have different providers with different passwords then you better
  53. # remove the following line.
  54.  
  55. #       *       password
  56. ers to login without a
  57. # password if you don't use the login option of pppd! The mgetty Debian
  58. # package already provides this option; make sure you don't change that.
  59.  
  60. # INBOUND connections
  61.  
  62. # Every regular user can use PPP and has to use passwords from /etc/passwd
  63. *       pptpd   ""      *
  64.  
  65. # UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
  66. # other accounts that should not be able to use pppd!
  67. guest   pptpd   "*"     -
  68. master  pptpd   "*"     -
  69. root    pptpd   "*"     -
  70. support pptpd   "*"     -
  71. stats   pptpd   "*"     -
  72.  
  73. # OUTBOUND connections
  74.  
  75. # Here you should add your userid password to connect to your providers via
  76. # PAP. The * means that the password is to be used for ANY host you connect
  77. # to. Thus you do not have to worry about the foreign machine name. Just
  78. # replace password with your password.
  79. # If you have different providers with different passwords then you better
  80. # remove the following line.
  81.  
  82. #       *       password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement