LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-21-2002, 10:05 AM   #1
Mulefire
LQ Newbie
 
Registered: Feb 2002
Posts: 3

Rep: Reputation: 0
Starting 'Screen' from rc.local as a user other than root


Hi,

I want to run BitchX on startup and have it load into a detached screen session so I can use it from a different terminal.

I created a BitchX entry in my normal users .screenrc file then logged in as root and tried "su -l <user> -c screen" but I keep getting errors about not being able to open tty1.

I also tried created a copy of the screen binary, chown'ing it to my normal user and using setuid. This gave me the same errors.

I am thinking of created a cron job for that user and using that to check every 30 mins or what not to see if BitchX is running and if not to start it up but this seems a really ugly way of doing it.

Any ideas?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
forwarding root mail to another local user kevinm2 Linux - Software 2 07-13-2005 10:55 PM
Starting a service as non root user? dee3lmo Linux - General 2 07-30-2004 07:37 PM
X server not starting as non root user Draylath Linux - Newbie 16 06-25-2004 02:02 PM
Starting mysql daemon as user rather than root arubin Slackware 8 05-10-2004 04:03 PM
Authentication failed Starting X for any User but root aimstr8 Linux - Software 4 02-27-2004 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:06 PM.

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
Open Source Consulting | Domain Registration