Re: Which profile file is read on z/Linux?

2005-11-17 Thread John Summerfied
Edmund R. MacKenty wrote: Grega then goes on to describe his woes with db2fmcd, which is exactly the same behavior I've had it do to me, with no apparent cause and at very random and unfortunate times. There's actually a very simple solution, which I wish the DB2 team would consider, because i

Re: Which profile file is read on z/Linux?

2005-11-17 Thread Edmund R. MacKenty
Grega Bremec writes: >I feel compelled to comment on this a little bit. Adding all sorts of >things to /etc/inittab is considered to be pretty much intrusive and >unwise in the Unix world, and as far as I'm concerned, it is actually by >far the worst thing to just to keep a process around. There ar

Re: Which profile file is read on z/Linux?

2005-11-17 Thread Grega Bremec
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Rich Smrcina wrote: |> |> Actually, DB2's use of /etc/inittab is for a good reason: it wants to |> respawn a process if it ever dies, and init will do that properly. The |> inittab really needs a form of "directory include" capability so that |>

Re: Which profile file is read on z/Linux?

2005-11-16 Thread Tom Duerbusch
umentation didn't seem to work. Learn something new, every month! Tom Duerbusch THD Consulting >>> [EMAIL PROTECTED] 11/16/05 9:34 AM >>> Date:Tue, 15 Nov 2005 11:00:26 -0600 From:Tom Duerbusch <[EMAIL PROTECTED]> Subject: Re: Which profile file is read on z/

Re: Which profile file is read on z/Linux?

2005-11-16 Thread David Boyes
> Actually, DB2's use of /etc/inittab is for a good reason: it > wants to respawn a process if it ever dies, and init will do > that properly. The inittab really needs a form of "directory > include" capability so that packages can drop snippets of > inittab instructions into separate files. Modu

Re: Which profile file is read on z/Linux?

2005-11-16 Thread Tom Russell
Date:Tue, 15 Nov 2005 11:00:26 -0600 From:Tom Duerbusch <[EMAIL PROTECTED]> Subject: Re: Which profile file is read on z/Linux? >I've seen Oracle manuals that said to do an "echo $SHELL", and when it >came back as "bash", add lines to your ".prof

Re: Which profile file is read on z/Linux?

2005-11-16 Thread Rich Smrcina
I think we had the same bug on Linux for S/390 just recently. We did get a fix for it. Your explanation of why they use inittab is the first I've heard of why they do it that way. A little blurb in the doc when I was hunting for it back in the day would have been helpful. :) Edmund R. MacKent

Re: Which profile file is read on z/Linux?

2005-11-16 Thread Edmund R. MacKenty
Rich Smrcina writes: >DB2 does the same thing, yuck. > >David Boyes wrote: >> On Wed, Nov 16, 2005 at 02:03:52PM +0800, John Summerfied wrote: >> Let's not push them too hard. Parts of Tivoli are still discovering >> /etc/init.d for startup scripts (editing /etc/inittab directly >> ... *shudder*).

Re: Which profile file is read on z/Linux?

2005-11-16 Thread James Tison
oss their product lines. Peace, --Jim-- John Summerfied <[EMAIL PROTECTED]> Sent by: Linux on 390 Port 11/16/2005 01:07 AM Please respond to Linux on 390 Port To LINUX-390@VM.MARIST.EDU cc Subject Re: Which profile file is read on z/Linux? The best place to learn this stuff i

Re: Which profile file is read on z/Linux?

2005-11-16 Thread Rich Smrcina
DB2 does the same thing, yuck. David Boyes wrote: On Wed, Nov 16, 2005 at 02:03:52PM +0800, John Summerfied wrote: (and I wish IBM would use it to store an initialisation script for java), Let's not push them too hard. Parts of Tivoli are still discovering /etc/init.d for startup scripts (

Re: Which profile file is read on z/Linux?

2005-11-16 Thread David Boyes
On Wed, Nov 16, 2005 at 02:03:52PM +0800, John Summerfied wrote: > (and I wish IBM > would use it to store an initialisation script for java), Let's not push them too hard. Parts of Tivoli are still discovering /etc/init.d for startup scripts (editing /etc/inittab directly ... *shudder*). -- db

Re: Which profile file is read on z/Linux?

2005-11-15 Thread John Summerfied
Rick Troth wrote: On Tue, 15 Nov 2005, Post, Mark K wrote: Actually, it hasn't. This is all controlled by whatever shell you run. ... True. And specifically in Tom's case, I think that the presence of $HOME/.bash_profile obviates sourcing any $HOME/.profile. This is frustrating. The b

Re: Which profile file is read on z/Linux?

2005-11-15 Thread John Summerfied
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 i

Re: Which profile file is read on z/Linux?

2005-11-15 Thread Rick Troth
On Tue, 15 Nov 2005, Post, Mark K wrote: > Actually, it hasn't. This is all controlled by whatever shell you run. ... True. And specifically in Tom's case, I think that the presence of $HOME/.bash_profile obviates sourcing any $HOME/.profile. This is frustrating. -- R; --

Re: Which profile file is read on z/Linux?

2005-11-15 Thread Post, Mark K
Of Tom Duerbusch Sent: Tuesday, November 15, 2005 12:00 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Which profile file is read on z/Linux? I get confused with this all the time. It seems to be shifting I currently run SUES7, SUSE8, SUSE9 31 bit and SUSE9 64 bit. On SUSE9 64 bit, /etc/pro

Re: Which profile file is read on z/Linux?

2005-11-15 Thread David Boyes
> I'll second David's recommendation to *not* do this. It's a > really, really, bad idea. You want to make sure the fact > that you are signed on as root is *more* obvious, not less. In fact, look at the use of the PS1 through PS4 environment variables in the bash man page. If you set PS1 and PS

Re: Which profile file is read on z/Linux?

2005-11-15 Thread Tom Duerbusch
I get confused with this all the time. It seems to be shifting I currently run SUES7, SUSE8, SUSE9 31 bit and SUSE9 64 bit. On SUSE9 64 bit, /etc/profile.local should be used for any "global" changes that will apply to all users. A separate .bash_profile is used for each user. I finally go

Re: Which profile file is read on z/Linux?

2005-11-15 Thread Post, Mark K
mainframe_s390 Sent: Tuesday, November 15, 2005 7:49 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Which profile file is read on z/Linux? -snip- And I want to change pronpt.(user=root) Now displayed testlnx:/etc # , want to change

Re: Which profile file is read on z/Linux?

2005-11-15 Thread Edmund R. MacKenty
Rick Troth writes: >> > I use bash shell. >> > I found /etc/bash.bashrc file. >> > What should I use this file for?? >> >> You should leave it alone, and create a private ~/.bashrc in /root if you >> want to customize the environment for user root. /etc/bash.bashrc should be >> used for systemwide

Re: Which profile file is read on z/Linux?

2005-11-15 Thread Rick Troth
> > I use bash shell. > > I found /etc/bash.bashrc file. > > What should I use this file for?? > > You should leave it alone, and create a private ~/.bashrc in /root if you > want to customize the environment for user root. /etc/bash.bashrc should be > used for systemwide customizations that affect

Re: Which profile file is read on z/Linux?

2005-11-15 Thread David Boyes
> If it is available to you (I gather you are not in the U.S.), > I really suggest getting the book "Learning the BASH Shell", > published by O'Reilly & Associates, Inc. You can visit their > web site (I hope) at http://www.ora.com . They have a lot of > excellent things at that site, including som

Re: Which profile file is read on z/Linux?

2005-11-15 Thread David Boyes
> I use bash shell. > I found /etc/bash.bashrc file. > What should I use this file for?? You should leave it alone, and create a private ~/.bashrc in /root if you want to customize the environment for user root. /etc/bash.bashrc should be used for systemwide customizations that affect all uses, an

Re: Which profile file is read on z/Linux?

2005-11-15 Thread McKown, John
n 390 Port [mailto:[EMAIL PROTECTED] On > Behalf Of mainframe_s390 > Sent: Tuesday, November 15, 2005 6:49 AM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: Which profile file is read on z/Linux? > > > Hi,Grega! and all! > > I use bash shell. > I found /etc/bash.ba

Re: Which profile file is read on z/Linux?

2005-11-15 Thread mainframe_s390
Hi,Grega! and all! I use bash shell. I found /etc/bash.bashrc file. What should I use this file for?? Please teach me. And I want to change pronpt.(user=root) Now displayed testlnx:/etc # , want to change to testlnx:/etc $. Which file should I change?? Pl's teach me, also. Thanks, - K.M. -

Re: Which profile file is read on z/Linux?

2005-11-15 Thread Gianfranco Ciotti
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. if you cannot find them, create them! bye, -- Gian ---

Re: Which profile file is read on z/Linux?

2005-11-14 Thread Grega Bremec
-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

Which profile file is read on z/Linux?

2005-11-14 Thread mainframe_s390
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?? Please teach me. Thanks, - K.M. --