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
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
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
, 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
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
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
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
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