Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pppd: Add pap-secrets and chap-secrets options #513

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

tpaukrt
Copy link
Contributor

@tpaukrt tpaukrt commented Sep 3, 2024

These options allow a user to specify paths to pap-secrets and chap-secrets files.

@tpaukrt tpaukrt changed the title pppd: Add options pap-secrets and chap-secrets pppd: Add pap-secrets and chap-secrets options Sep 3, 2024
@paulusmack
Copy link
Collaborator

Letting a non-privileged user control authentication seems like a really bad idea.

@tpaukrt
Copy link
Contributor Author

tpaukrt commented Sep 9, 2024

Added OPT_PRIV to both options.

@paulusmack
Copy link
Collaborator

Still needs explanation (in the commit message) of why we want such fine-grained control, as opposed to, say, using the --sysconfdir option when configuring.

These options allow a user to specify paths to pap-secrets and chap-secrets files,
which is necessary when running multiple instances of pppd that may use the same
username but with different passwords (e.g. running multiple PPTP tunnels).

Signed-off-by: Tomas Paukrt <[email protected]>
@tpaukrt
Copy link
Contributor Author

tpaukrt commented Sep 9, 2024

Added explanation to the commit message.

@paulusmack paulusmack merged commit f190e3e into ppp-project:master Sep 10, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants