![]() |
linux autostart question
can someone tell me how id get the program /home/tss/server_linux to startup when the system boots up
the thing is i want to run as the user TSS rather than root. |
Re: linux autostart question
I'm using Gnome at the moment, so can't check how you'd do it KDE, but you should just be able to do this via Applications > preferences > more preferences > session > startup programs
__________________ ...or try editing .bash_profile or .bash_login |
Re: linux autostart question
Quote:
sorry i ment to say its running on a webserver so i need to be able to set it up via the command line. if i put it in .bash_login wouldnt that still requre the user to login? what i want it to do is start server_linux (teamspeak) when the server is rebooted but i dont want teamspeak running as root. __________________ hmm would adding it to the init scripts in the format sudo -u tss /home/tss/server_linux work?# :confused: |
Re: linux autostart question
Yeah, in that case scrap those suggestions, cause you would need to log in for both of them to take effect.
As for the init script... I dunno. Sounds a reasonable enough idea to me. I guess you're gonna have to suck it and see. Post back if it works, cause I'm curious now :) |
Re: linux autostart question
added this line to rc.local
/usr/bin/sudo -u tss /home/tss/server_linux Teamspeak server auto starts on a reboot and is running as the user tss :D didn't want want is teamspeak server running with root access and the sudo command seems to have taken care of that little problem :) |
| All times are GMT. The time now is 07:17. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum