Displaying 2 results from an estimated 2 matches for "ajveydw8evq".
2025 Apr 21
2
Setting variable in /etc/environment has no effect for ssh session
...rg>> wrote:
>
> On Thu, 17 Apr 2025, Yu, Mingli wrote:
> [...]
> > I'm using openssh 9.9p2 and have defined the below logic into
> /etc/pam.d/sshd.
> > session required pam_env.so
> <https://urldefense.com/v3/__http://pam_env.so__;!!AjveYdw8EvQ!ZF2OrMmsX8vpTUUNHA1hkQKhLFYw1eSerAeBs45Y92R-IRsNsV7fDp8ghtUn-_TDVrtRnb2Fu9vW5DOGCtc2GXc$>
> >
> > But the environment variables defined in /etc/environment file
> are not
> > effective when login via ssh. Could you help to guide what's
> wrong h...
2025 Apr 19
1
Setting variable in /etc/environment has no effect for ssh session
On Sat, 19 Apr 2025 at 14:44, Damien Miller <djm at mindrot.org> wrote:
> On Thu, 17 Apr 2025, Yu, Mingli wrote:
> [...]
> > I'm using openssh 9.9p2 and have defined the below logic into
> /etc/pam.d/sshd.
> > session required pam_env.so
> >
> > But the environment variables defined in /etc/environment file are not
> > effective when login via ssh.