[bf1942] web script

Paul Bowsher paul.bowsher at gmail.com
Wed Jul 13 19:42:03 EDT 2005


You'll need to read through the manpages for ssh and ssh-keygen

On 7/14/05, Tim Cooper <tim at myinternetservices.com> wrote:
> Hmmm....
> 
> Is there a better explanation? .... this sounds exactly what I am looking
> for
> 
> -----Original Message-----
> From: Paul Bowsher [mailto:paul.bowsher at gmail.com]
> Sent: Wednesday, July 13, 2005 6:34 PM
> To: bf1942 at icculus.org
> Subject: Re: [bf1942] web script
> 
> You could look at suexec, but the best way I've found is to use
> passphraseless ssh keys and ssh in then kill it. You then have scope
> to extend that to other boxes from the same interface
> 
> On 7/14/05, Tim Cooper <tim at myinternetservices.com> wrote:
> >
> > Is there a way I can make a script to su as a user and have the the script
> > become that user
> >
> > cd /home/user/bf2
> > screen -dmS rental1 /home/user/bf2/start.sh
> >
> > I have a web app that executes this and another to kill the screen. The
> > problem I am having is that the users "apache" executes this and not the
> > user I need it to be
> >
> > Any suggestions ?
> >
> > Thanks,
> > Tim
> >
> >
> >
> >
> 
> 
> --
> Paul Bowsher
> IT Systems Developer
> Simply Stuck Ltd
> 
> 
> 


-- 
Paul Bowsher
IT Systems Developer
Simply Stuck Ltd



More information about the Bf1942 mailing list