Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Bootlocal.sh, how to start apps that require root< Next Oldest | Next Newest >
olliraa Offline





Group: Members
Posts: 24
Joined: Dec. 2004
Posted: April 09 2005,13:48 QUOTE

How can I start apps that require root priviledges from bootlocal.sh -file. I would like to run pon dsl-provider, sshd and some wine related stuff at boot, but dont know how to do that. I have added the lines to the bootlocal.sh, but getting errors due to permission restrictions.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 09 2005,13:53 QUOTE

are you sure the errors are permissions-related?  /opt/bootlocal.sh is run by root during startup, so it should do anything you put in that file

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
olliraa Offline





Group: Members
Posts: 24
Joined: Dec. 2004
Posted: April 09 2005,14:16 QUOTE

Sure about that, but what I really mean is that how can I set the login to automatically be root at startup. Or have I understood totally wrong. I run  server and want it to be totally automatic, so if I boot it remotely it will start all the necessary apps at boot.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 09 2005,14:30 QUOTE

Use the "2" boot option to log in as root without X auto-starting.  This is probably the ideal way for a server.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
olliraa Offline





Group: Members
Posts: 24
Joined: Dec. 2004
Posted: April 09 2005,14:54 QUOTE

I am very sorry, but how do I do that. Thanks for your patience :D
Back to top
Profile PM 
6 replies since April 09 2005,13:48 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Bootlocal.sh, how to start apps that require root

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code