[Nottingham] Redhat Init
Mike Martin
nottingham at mailman.lug.org.uk
Fri Jul 11 10:50:01 2003
--- Alex Tibbles <alex_tibbles@yahoo.co.uk> wrote: > > > An extreme
case that comes to mind is fetchmail,
> > which runs from a
> > > ~/.fetchmailrc, so if you run it from rc.local you
> > need to specify
> > > the conf file
> >
> > That's exactly the kind of case where the 'su -
> > luser -c command' trick helps,
> > especially for larger software packages that like to
> > have environmentals
> > setup, and get updated over time, you don't have to
> > ferret out what needs
> > setting up.
> Ah! I've spotted something I don't understand. The
> extra '-' you have "makes it a login shell" according
> to "man su". What exactly does that change?
>
It ives the same environment as if you had logged in originally as
the user you are logging in as (path etc)
> In reponse to earlier question: this is a server
> program that runs and waits.
>
> thanks,
> alex
>
>
________________________________________________________________________
> Want to chat instantly with your online friends? Get the FREE
> Yahoo!
> Messenger http://uk.messenger.yahoo.com/
>
> _______________________________________________
> Nottingham mailing list
> Nottingham@mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/nottingham
__________________________________________________
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html