> > Or you can put in /etc/init.t/local the entries.
> > 
> > and make a link into /etc/local/S99local to
> execute
> > that script.
> > 
> > Regards
> > Ether.pt
> 
> There are actually quite a few scripts that will
> allow a user to define environmental variables (e.g.,
> /etc/profice, $HOME/.dtprofile, etc., etc., . . .)
> Where can I find documentations regarding each of
> these scripts and, more importantly, what is the
> order/sequence in which these scripts are executed
> (which, in turn, determines what scripts will be
>  overridden)?
> 
> I have asked the same question in a separate thread
> but no one bothered to comment. :-(

They should be in the man page for the shell, for example from tcsh:

A login shell begins by executing commands from  the  system
     files  /etc/.cshrc  and  /etc/.login.  It then executes com-
     mands from  files  in  the  user's  home  directory:   first
     ~/.tcshrc  (+) or, if ~/.tcshrc is not found, ~/.cshrc, then
     ~/.history (or the value of the  histfile  shell  variable),
     then  ~/.login,  and finally ~/.cshdirs (or the value of the
     dirsfile  shell  variable)  (+).    The   shell   may   read
     /etc/csh.login  before  instead  of  after  /etc/.cshrc, and
     ~/.login before instead of after ~/.tcshrc or  ~/.cshrc  and
     ~/.history,  if so compiled; see the version shell variable.

Also, I found this: 
http://www.learning-solaris.com/index.php/unix-solaris-10-working-with-user-initialization-files/
if thats what your looking for.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to