Re: suid question, kind of

1999-07-16 Thread Carl Mummert
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 you

suid question, kind of

1999-07-15 Thread Pollywog
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

Re: suid question, kind of

1999-07-15 Thread E.L. Meijer \(Eric\)
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

Re: suid question, kind of

1999-07-15 Thread Carl Mummert
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

Re: suid question, kind of

1999-07-15 Thread Pollywog
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

Re: suid question, kind of

1999-07-15 Thread Carl Mummert
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

Re: suid question, kind of

1999-07-15 Thread Pollywog
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 did not