Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> How To Add A Process To Startup?
overhear
post Nov 29 2002, 06:48 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 29-November 02
Member No.: 204



Hi

I have red hat 8.0 linux, and I wanted to know how to add a process to run at startup, for one specific user, not root. I know how to do it after logging in, but what I really wanted is to have it running BEFORE I even login. It's no linux base service, it's a program I have installed after linux installation (just to make things clearer). Is this possible? How do I do it? Thanks in advance!
Go to the top of the page
 
+Quote Post
wavy
post Nov 29 2002, 09:59 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 29-November 02
Member No.: 205



edit /etc/rc.local and run your program using 'su' like so...

su fred -c '/home/fred/mycommand' &

that should do it
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2017 - 04:39 AM