On Tuesday 23 January 2007 10:56, Ilya Hegai wrote:
> Is it possible to run init script during boot from normal user, but not
> root?

There is a chapter about Gentoo initscripts in the handbook including a 
section about writing your own. start-stop-daemon has support for running a 
daemon as another user through the --user or --chuid switches. If it isn't a 
daemon you can also just use `su $user -c $command`.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4

-- 
Bo Andresen

Attachment: pgpnd24agDuHV.pgp
Description: PGP signature

Reply via email to