4 ms·
You can't configure which shell is run, but you can usually configure the shell (in ~/.profile or a similar file). Or, if the server is running Debian, you can
by jwilk 9y ago
You can't configure which shell is run, but you can usually configure the shell (in ~/.profile or a similar file).
Or, if the server is running Debian, you can set environment variables the .pam_environment file:
https://bugs.debian.org/761600 https://bugs.debian.org/761600
- icebraining 9y agoI don't think .profile runs before the shell is spawned, does it? The .pam_environment one is interesting, thanks for the link.
- lvh 9y agoYou can still exec into a new shell, for example.