1
2
I'm using Ubuntu 9.10 (karmic). And, my ~/.pam_environment
looks like the following.
PATH DEFAULT=${PATH}:~/Adobe/Reader9/bin:~/texlive/2009/bin/x86_64-linux
GIT_EDITOR DEFAULT=vim
MANPATH DEFAULT=${MANPATH}:~/texlive/2009/texmf/doc/man
INFOPATH DEFAULT=${INFOPATH}:~/texlive/2009/texmf/doc/info
But, echo $PATH
returns me duplicated entries as the following.
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:~/Adobe/Reader9/bin:~/texlive/2009/bin/x86_64-linux:~/Adobe/Reader9/bin:~/texlive/2009/bin/x86_64-linux
I've tried replacing DEFAULT
by OVERRIDE
in my ~/.pam_environment
file. But, that didn't help.
Does any one know what's wrong with my ~/.pam_environment
?
1Not directly related, but
~
won't work in there. If you had set it from the shell it would have been expanded properly, butpam_env
doesn't know how to expand it. Use${HOME}
instead. – geekosaur – 2011-03-15T19:45:27.883