4

Is there a way to configure the PPTP server under Ubuntu 10.04 to allow users to log in with their username/password from the local machine (the Ubuntu server, that is, not where they are connecting from)? I don't want to have to add a new username to /etc/ppp/chap-secrets every time I create a user, nor do I particularly want to store passwords in plain text like that.

1

2 Answers 2

1

It's not possible to store them crypted, because pptpd does CHAP which is a challenge response procedure. Your server needs your password in cleartext to do it.

0

The option is called "login":

Use the system password database for authenticating the peer using PAP, and record the user in the system wtmp file. Note that the peer must have an entry in the /etc/ppp/pap-secrets file as well as the system password database to be allowed access.

Now you would need require-pap since users would have to send theirs passwords unencrypted but that's starting smell as PBP (Pretty Bad Privacy), isn't it? Also, it is PBP even with MPPE.

So, concluding, that was bad idea.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .