LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2005, 04:16 AM   #1
sendas4
Member
 
Registered: May 2004
Location: Tacoma, Wa
Distribution: Gentoo
Posts: 94

Rep: Reputation: 15
Howto launch script at startup


I want to laugh a script i wrote everytime i boot up. the script needs to be run as root. but i dont want to log on as root. How can i do this?
 
Old 03-10-2005, 04:25 AM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Well, in Slackware I would put the command in /etc/rc.d/rc.local - I know Gentoo has a similar file, just I'm unsure which.

EDIT: Oh! here you go: http://www.gentoo.org/doc/en/handboo...?part=2&chap=4

Last edited by scuzzman; 03-10-2005 at 04:26 AM.
 
Old 03-10-2005, 10:51 AM   #3
sendas4
Member
 
Registered: May 2004
Location: Tacoma, Wa
Distribution: Gentoo
Posts: 94

Original Poster
Rep: Reputation: 15
Cool thanks got it working.
 
  


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
How to launch a program as a defined user at startup. Linux.tar.gz Linux - Software 2 03-20-2005 11:28 AM
Have Firefox Launch X on startup Johnathan4 Linux - Software 1 02-12-2005 10:02 AM
Howto change boot-up options to launch KDE or gnome? flipwils11 Linux - Software 3 01-13-2005 11:42 AM
howto: Launch xscreensaver on bootup?? trey85stang Slackware 2 03-28-2004 07:10 PM
Launch commands at BlackBox startup MediaTracker Linux - Software 3 10-16-2003 10:51 PM


All times are GMT -5. The time now is 10:58 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