Grega Bremec wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
mainframe_s390 wrote:
| Hi,all
|
| I use SLES9 on zSeries.
| When I logon to SLES9 on zSeries via root user, which
| profile file is read??
| I can't find .bashrc file and .profile file under /root
| directory.
| Which file is settings output of "set" or "env" command??
|
Hello, K.M.
This is infact no different than on any other Linux system.
Depending on your default shell, which is probably /bin/bash, if your
root user environment hadn't been modified using chsh(1), the system-
- -wide environment setup script being read upon login is:
For /bin/bash, /bin/ash and /bin/sh, /etc/profile
For /bin/tcsh and /bin/csh, /etc/csh.cshrc and/or /etc/csh.profile
For /bin/zsh, /etc/zprofile, /etc/zshrc and/or /etc/zlogin
And read whichever of those are relevant to your circumstances. Some
distros have /etc/profile.d into which they put stuff (and I wish IBM
would use it to store an initialisation script for java), and it's read
by /etc/profile.
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
do not reply off-list
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390