[Gllug] Unprivileged Init Script

Bruce Richardson itsbruce at workshy.org
Wed Mar 12 16:08:33 UTC 2008


On Wed, Mar 12, 2008 at 04:04:55PM +0000, - wrote:
> On Wed, Mar 12, 2008 at 3:47 PM, Stephen Nelson-Smith
> <sanelson at gmail.com> wrote:
> 
> >  I wish to run a service as an unprivileged user.  I have an init
> >  script.  I'm running a mixture of RHEL 3 and RHEL 5.  What's the
> >  recommended way to get the unprivileged user to start the service via
> >  the init script?
> 
> su(1)

Or sudo.  Just be careful how you set it up.


-- 
Bruce

I object to intellect without discipline.  I object to power without
constructive purpose. -- Spock
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20080312/c0ca2d9a/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list