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

pam_env(8) is wrong about ~/.pam_environment #6

Open
lahwaacz opened this issue Feb 11, 2017 · 4 comments

Comments

Projects
None yet
3 participants
@lahwaacz
Copy link

commented Feb 11, 2017

pam_env(8) says:

user_envfile=filename
Indicate an alternative .pam_environment file to override the
default.The syntax is the same as for /etc/environment. The
filename is relative to the user home directory. This can be
useful when different services need different environments.

But that is not what the code does. The user_env_file is parsed with _parse_config_file, same as the conf_file (i.e. /etc/security/pam_env.conf by default). /etc/environment is parsed with _parse_env_file.

@glensc

This comment has been minimized.

Copy link

commented Jul 3, 2017

@lahwaacz never link to branch when referring to code lines by their numbers. use permalinks (git tag or git commit ref instead). edit your post to fix that.

@lahwaacz

This comment has been minimized.

Copy link
Author

commented Jul 3, 2017

The links still pointed where inteded, nevertheless they're permalinks now.

@glensc

This comment has been minimized.

Copy link

commented Jul 3, 2017

yes, they may not be so over the time passes.

@ChALkeR

This comment has been minimized.

Copy link

commented Jul 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.