1

I do not like my password to be stored in plain text on linux server. Is there a way to use pptp without storing password to /etc/ppp ?

1
  • Is the Linux server in this question serving as a PPTP server, with machines out in the field connecting back to get inside the local network on which the Linux server lives? Or, is the Linux server wanting to connect as a client of a PPTP server somewhere else? Mar 22, 2010 at 19:59

2 Answers 2

1

An interesting question, although I may not have the perfect solution for you.

You see, pppd needs your peer password to be able to send it over the wire and while writing your password in a little masked box usually feels better than knowingly writing it an clear text file on your system, the results are usually the same.

With most programs, the passwords are either stored in clear text or backed behind some sort of key-ring.

What I recommend is that you use an encrypted file system for your "sensitive" configuration files and restrict access to the file on your system (with chmod) so that you're the only one able to read it.

0

You could upgrade your PPTP connection to EAP-TTLS, thus relocating the problem from storing a password to storing a certificate.

Nevertheless, encrypted file systems can only be recommended for such affairs.

You must log in to answer this question.

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