in reply to Environment discovery under Linux
If it's a matter of warning users about the risks starting up other shells after they are logged in/connected, that should be in the text of "/etc/motd" ("message-of-the-day"), which gets displayed at login (before the initial shell prompt). But as for controlling shell behavior at login, /etc/passwd handles that.
(Or maybe I'm completely missing the point about your question...)
|
|---|