Re:/bin/false is not security (2005)
by icebraining on Friday December 29, 2017 @01:03PM
(#16030795)
I don't think .profile runs before the shell is spawned, does it?
The .pam_environment one is interesting, thanks for the link.
Or, if the server is running Debian, you can set environment variables the .pam_environment file:
https://bugs.debian.org/761600