>I tried this after reading the man page and it did not work, so I read the man
>page again and it seems that --user is intended for use in closing a process,
>not in starting one.
damn. You're right. Rename the script below, edit the vars at the top,
and you are i business. Sorry to have led y
On 15-Jul-99 Carl Mummert wrote:
>>
>>start-stop-daemon --start --exec $NEWT /path/to/executable ?
>
> The sense I get from the manpage is that you should use
>
> start-stop-daemon --start --user newt --exec /path/to/prog -- -program
> -options
I tried this after reading the man page and it di
>
>start-stop-daemon --start --exec $NEWT /path/to/executable ?
The sense I get from the manpage is that you should use
start-stop-daemon --start --user newt --exec /path/to/prog -- -program -options
Carl
On 15-Jul-99 Carl Mummert wrote:
>
>
> IF you are using inetd, there is an option for which uid to use;
> the sytnax is
>
> port type type user {no}wait user command
>
>
> IF you don't use inetd, then you should use start-stop-daemon, which
> allows you to specify the user and group . man
IF you are using inetd, there is an option for which uid to use;
the sytnax is
port type type user {no}wait user command
IF you don't use inetd, then you should use start-stop-daemon, which
allows you to specify the user and group . man start-stop-daemon
Carl
>
> I forgot how to make a program start when the machine boots, but not have it
> start as root. I want it to start as another user. Any ideas, anyone?
Look at `su username -c ...' or setuid from the super package.
HTH,
Eric
--
E.L. Meijer ([EMAIL PROTECTED])
Eindhoven Univ. of Technology
I forgot how to make a program start when the machine boots, but not have it
start as root. I want it to start as another user. Any ideas, anyone?
thanks
--
Andrew
7 matches
Mail list logo