LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2002, 11:39 AM   #1
htimst
LQ Newbie
 
Registered: Nov 2001
Distribution: RedHat 7.2
Posts: 24

Rep: Reputation: 15
Autostarting a daemon not as root???


Hi,

I need to start ircd under different owner than root when server boots. Any ideas how to do that in an rc.local type file on bootup?

Thanks!
 
Old 05-30-2002, 01:27 PM   #2
htimst
LQ Newbie
 
Registered: Nov 2001
Distribution: RedHat 7.2
Posts: 24

Original Poster
Rep: Reputation: 15
FYI

rc file

#!/bin/sh
su <user> -c 'file'


cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
autostarting but from where? evil_empire Fedora 5 03-31-2005 01:51 PM
Starting mysql daemon as user rather than root arubin Slackware 8 05-10-2004 05:03 PM
gift daemon runs as root not as user... (using apollon and the fasttrack network) skinpainting Linux - Software 1 02-03-2004 03:43 AM
Autostarting an app MikeMcCarty Linux - Newbie 4 06-30-2003 05:20 PM
PPP Daemon dies on connection, but no when I'm in root Manyguns Linux - Newbie 1 05-27-2001 10:21 AM


All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration