LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   New Startup command (https://www.linuxquestions.org/questions/linux-software-2/new-startup-command-365038/)

mpgram 09-19-2005 06:56 PM

New Startup command
 
I am trying to figure out how to add a new startup command that would start on boot. But it needs to be started as a specific user. How and where would I set this up?

I tried using webmin, but webmin will not allow me to specify a specific user.

perfect_circle 09-19-2005 07:07 PM

not sure this will work but try this:
Code:

su - <username> -c ' <command>'

mpgram 09-19-2005 07:30 PM

Yup. That does it. Thanks!!


All times are GMT -5. The time now is 11:27 AM.