-----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 There are, of course, per-user settings, which are the ones you should be modifying if you only intend to alter a single user's environment. For more details, see your shell's manual (usually in section 1 of the system manuals), search for the section of the manual called FILES. Hope this helped. Kind regards, - -- ~ Grega Bremec ~ gregab at p0f dot net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFDeZEFfu4IwuB3+XoRAwJtAJ48Pouq0rYZiKi11TeLzS+8wGLyxgCdGuzk rWb/pjanbpQx9uJEdZ/HorI= =ZYg1 -----END PGP SIGNATURE----- ---------------------------------------------------------------------- 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
