Re: how to run daemon as specific user?

2000-11-07 Thread Michael H. Warfield
On Tue, Nov 07, 2000 at 04:46:21PM -0500, Mike Burger wrote: > I believe "chmod u+s /usr/interbase/bin/ibmgr" might do it for > you...setting the sticky bit usually gets you there. > On Tue, 7 Nov 2000, Ed Lazor wrote: > > I'd like to run a daemon as non-root. How can I do this? > > > > In th

Re: how to run daemon as specific user?

2000-11-07 Thread Ed Lazor
Perfect! Thanks Todd =) -Ed At 03:31 PM 11/7/2000 -0800, you wrote: > su -c 'daemon_command_line' userfoo > >-- >Todd A. Jacobs >Senior Network Consultant ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/lis

Re: how to run daemon as specific user?

2000-11-07 Thread Todd A. Jacobs
On Tue, 7 Nov 2000, Ed Lazor wrote: > I'd like to run a daemon as non-root. How can I do this? Try: setuser userfoo daemon_command_line or: su -c 'daemon_command_line' userfoo -- Todd A. Jacobs Senior Network Consultant ___ R

Re: how to run daemon as specific user?

2000-11-07 Thread Ed Lazor
At 05:17 PM 11/7/2000 -0500, you wrote: >I'm not sure of the answer to the first question...but, I would think >that if you don't have g+x or o+x, set, then only root and interbase >should be able to execute it. Very good point. If there aren't any other options to review first, I'll probably en

Re: how to run daemon as specific user?

2000-11-07 Thread Mike Burger
I'm not sure of the answer to the first question...but, I would think that if you don't have g+x or o+x, set, then only root and interbase should be able to execute it. On Tue, 7 Nov 2000, Ed Lazor wrote: > At 04:46 PM 11/7/2000 -0500, you wrote: > >I believe "chmod u+s /usr/interbase/bin/ibmg

Re: how to run daemon as specific user?

2000-11-07 Thread Ed Lazor
At 04:46 PM 11/7/2000 -0500, you wrote: >I believe "chmod u+s /usr/interbase/bin/ibmgr" might do it for >you...setting the sticky bit usually gets you there. hmmm When you run a program using start up scripts, doesn't it automatically run as root regardless of whether a sticky bit is set? Also,

Re: how to run daemon as specific user?

2000-11-07 Thread Mike Burger
I believe "chmod u+s /usr/interbase/bin/ibmgr" might do it for you...setting the sticky bit usually gets you there. On Tue, 7 Nov 2000, Ed Lazor wrote: > I'd like to run a daemon as non-root. How can I do this? > > In this specific example, I have /etc/rc.d/init.d/interbase with the > follow

how to run daemon as specific user?

2000-11-07 Thread Ed Lazor
I'd like to run a daemon as non-root. How can I do this? In this specific example, I have /etc/rc.d/init.d/interbase with the following entry: daemon /usr/interbase/bin/ibmgr -start -password $PASSWORD Right now, it ends up running as root and I'd like to change it to the user interb