Hello.

I have noticed that the ksh and sh manpages don't make reference to the 
file /.profile, which I understand to hold the default shell variables if 
the other source files listed on the manuals don't exist.

The current FILES secion of SH(1):

FILES
     ~/.profile           User's login profile.
     /etc/profile         System login profile.
     /etc/suid_profile    Privileged shell profile.
     /etc/shells          Shell database.

The current FILES section of KSH(1)

FILES
     ~/.profile           User's login profile.
     /etc/ksh.kshrc       Global configuration file.  Not sourced by 
default.
     /etc/profile         System login profile.
     /etc/shells          Shell database.
     /etc/suid_profile    Privileged shell profile.

I noticed that when none of this files exist, variables for the shells 
are populated from somewhere else. (/.profile).

My suggestion is to update the docummentation, and add /.profile to the 
FILES section of the man pages. Or just move /.profile to /etc/profile if 
feasible. Is there any reason for having a configuration dotfile in / ?

Reply via email to