Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] init script from user
Date: Tue, 23 Jan 2007 12:27:08
In Reply to: [gentoo-user] init script from user by Ilya Hegai
1 On Tuesday 23 January 2007 10:56, Ilya Hegai wrote:
2 > Is it possible to run init script during boot from normal user, but not
3 > root?
5 There is a chapter about Gentoo initscripts in the handbook including a
6 section about writing your own. start-stop-daemon has support for running a
7 daemon as another user through the --user or --chuid switches. If it isn't a
8 daemon you can also just use `su $user -c $command`.
12 --
13 Bo Andresen