diff options
author | ache <ache@FreeBSD.org> | 2002-04-20 04:38:07 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-04-20 04:38:07 +0000 |
commit | 9cec8df7cf5511f91cbc40ee111592c4f468a38a (patch) | |
tree | 288a0a3e264b3c045fc208d45835d1e593ee031f /share/man/man4/ef.4 | |
parent | da246f9c45ba8e92a06bb47cfe596a9b44b661e5 (diff) | |
download | FreeBSD-src-9cec8df7cf5511f91cbc40ee111592c4f468a38a.zip FreeBSD-src-9cec8df7cf5511f91cbc40ee111592c4f468a38a.tar.gz |
Please repeat after me: setusercontext() modifies _current_ environment, but
sshd uses separate child_env. So, to make setusercontext() really does
something, environment must be switched before call and passed to child_env
back after it.
The error here was that modified environment not passed back to child_env,
so all variables that setusercontext() adds are lost, including ones from
~/.login_conf
Diffstat (limited to 'share/man/man4/ef.4')
0 files changed, 0 insertions, 0 deletions