[ksh93-integration-discuss] Re: /etc/ksh.kshrc for ksh93 [PSARC/2006/587 Timeout: 10/24/2006]

John Plocher john.plocher at sun.com
Tue Oct 17 13:30:36 PDT 2006


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.




More information about the ksh93-integration-discuss mailing list