You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suitable files for environment variable settings that should affect just a particular user (rather than the system as a whole) are ~/.pam_environment and ~/.profile. After having edited one of those files, you should re-login in order to initialize the variables.
Steps to reproduce ->
echo "FOO=foo" >> ~/.pam_environment
sudo login
echo $FOO # returns blank; expected output: foo
Use of
~/.pam_environment
file?Windows build number:
Microsoft Windows [Version 10.0.19041.1]
The text was updated successfully, but these errors were encountered: