Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I tell linux to autostart a programm?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Spacemage
n00b
n00b


Joined: 13 Jan 2003
Posts: 26
Location: Germany

PostPosted: Sun Jan 19, 2003 12:56 am    Post subject: How do I tell linux to autostart a programm? Reply with quote

Hi!
How do I start a program as a certain user each time my system boots?
Back to top
View user's profile Send private message
garo
Bodhisattva
Bodhisattva


Joined: 15 Jul 2002
Posts: 860
Location: Edegem,BELGIUM

PostPosted: Sun Jan 19, 2003 12:57 am    Post subject: Reply with quote

put it in /etc/conf.d/local.start
_________________
My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam
Back to top
View user's profile Send private message
Dragon561
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 112

PostPosted: Sun Jan 19, 2003 1:05 am    Post subject: Reply with quote

say the program was webmin

rc-update add webmin default
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Jan 19, 2003 1:42 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Spacemage
n00b
n00b


Joined: 13 Jan 2003
Posts: 26
Location: Germany

PostPosted: Sun Jan 19, 2003 2:48 am    Post subject: Reply with quote

rc-update only seems to work when there is a script in /etc/init.d for it
if the otherone works I will see after next reboot but that does not start the program as a certain user... at least I do not see how

Thank you for the help.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Jan 19, 2003 3:55 am    Post subject: Reply with quote

You can emerge sudo and use it to launch a command as a different user.
Spacemage wrote:
rc-update only seems to work when there is a script in /etc/init.d for it
if the otherone works I will see after next reboot but that does not start the program as a certain user... at least I do not see how

Thank you for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum