securely set environment variables per user

Christoph Anton Mitterer calestyo at scientia.net
Wed Aug 8 07:14:52 EST 2012


Hi.

Is there a way to securely set environment variables per user on the
remote side?

What I want is e.g. that I determine on the remote side, that user foo
should always have PATH set to "blafasl".


~/.ssh/environment came to my mind for this,... but it needs
PermitUserEnvironment which (according to documentation) allows trickery
with things like LD_PRELOAD and which I do not want to allow.


Thanks,
Chris.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5450 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20120807/18698ce8/attachment.bin>


More information about the openssh-unix-dev mailing list