RE: [expert] rc.local Starting Applications Under Specific User - How To?

2000-06-20 Thread Yacketta,Ronald J
problems. The above has been running on my linux box for roughly 3 months now with no issues. regards, Ron -Original Message- From: Anton Graham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 20, 2000 11:55 AM To: [EMAIL PROTECTED] Subject: Re: [expert] rc.local Starting Applications

Re: [expert] rc.local Starting Applications Under Specific User - How To?

2000-06-20 Thread Anton Graham
Submitted 20-Jun-00 by Andrew George: > I'd try it in the .login script See my response above for how this can be a problem > or (never tried this but would the following command work in rc.local) > exec command << 'su user' << 'user password' Because rc.local runs as root, no password is requi

Re: [expert] rc.local Starting Applications Under Specific User - How To?

2000-06-20 Thread Anton Graham
Submitted 19-Jun-00 by Civileme: > I would simply put it into the appropriate user's .bashrc (or > whatever shell you are talking about) The problem with this approach rather than su user -c "command" from /etc/rc.d/rc.local is that you get a new instance with each login shell. Since I frequen

Re: [expert] rc.local Starting Applications Under Specific User - How To?

2000-06-20 Thread Sevatio Octavio
, 2000 6:21 PM Subject: [expert] rc.local Starting Applications Under Specific User - How To? >Typically if I wanted to run something automatically at bootup, I would put a >statement into /etc/rc.d/rc.local . Those apps will >run under the ownership of 'root'. How do you ge

Re: [expert] rc.local Starting Applications Under Specific User - How To?

2000-06-20 Thread Andrew George
I'd try it in the .login script or (never tried this but would the following command work in rc.local) exec command << 'su user' << 'user password' Huge security hole though Andrew (PS just guessing here) On Tue, 20 Jun 2000, Civileme wrote: > Sevatio Octavio wrote: > > > > Typically if I want

Re: [expert] rc.local Starting Applications Under Specific User - How To?

2000-06-19 Thread Thomas M. Beaudry`
su userid -c \"command line\" -s shell path See the start case in /etc/rc.d/init.d/xfs for an example. On Mon, 19 Jun 2000, you wrote: > Sevatio Octavio wrote: > > > > Typically if I wanted to run something automatically at bootup, I would put a >statement into /etc/rc.d/rc.local . Those apps

Re: [expert] rc.local Starting Applications Under Specific User - How To?

2000-06-19 Thread Civileme
Sevatio Octavio wrote: > > Typically if I wanted to run something automatically at bootup, I would put a >statement into /etc/rc.d/rc.local . Those apps will > run under the ownership of 'root'. How do you get rc.local to run apps under a >specific user? > > Seve I would simply put it into t

[expert] rc.local Starting Applications Under Specific User - How To?

2000-06-19 Thread Sevatio Octavio
Typically if I wanted to run something automatically at bootup, I would put a statement into /etc/rc.d/rc.local . Those apps will run under the ownership of 'root'. How do you get rc.local to run apps under a specific user? Seve