--- EnvironmentVariables 2016-02-03 15:34:06.474730337 -0800
+++ EnvironmentVariables-fixed 2016-02-03 15:58:28.210766929 -0800
@@ -122,14 +122,14 @@
{{{
FOO=bar
-PATH DEFAULT=${PATH}:${HOME}/MyPrograms
+PATH DEFAULT=${PATH}:/home/@{PAM_USER}/MyPrograms
}}}
'''Note:'''
- * You may not quote the value when doing a simple variable assignment like the `FOO=bar` example.
+ * When doing a simple variable assignment like the `FOO=bar` example, quotes have not special meaning. This means that values cannot contain spaces.
- * The syntax used for modifying PATH, which syntax differs from script files, is required for variable expansion to work.
+ * The syntax used for modifying PATH, which differs from the syntax of shell script files, is required for variable expansion to work. Some variables, like HOME, might not be set at the time '''~/.pam_environment''' is parsed. See '''/etc/security/pam_env.conf''' for more details.
* '''~/.pam_environment''' is written to when you use various GUIs to set the language or regional formats. Consequently, if you for instance set LC_TIME by editing '''~/.pam_environment''' manually, your entry will be overwritten if you afterwards use the Language Support GUI to change the regional formats setting.