Nit: With this proposal, we will have the following shell config files
living in /etc:
/etc/profile
/etc/suid_profile
/etc/.login
/etc/ksh.kshrc
/etc/default/su
Where does the name "ksh.kshrc" come from? I'm worried that we don't
seem to have or be following any naming pattern for these shell startup
files.
-John
login(1) says:
For Bourne shell and Korn shell logins, the shell executes
/etc/profile and $HOME/.profile, if it exists. For C shell
logins, the shell executes /etc/.login, $HOME/.cshrc, and
$HOME/.login. The default /etc/profile and /etc/.login files
check quotas (see quota(1M)), print /etc/motd, and check for
mail. None of the messages are printed if the file
$HOME/.hushlogin exists. The name of the command inter-
preter is set to - (dash), followed by the last component of
the interpreter's path name, for example, -sh.