Running a process at boot time under a regular user account
is it possible to run a process at boot time under a regular user account? i.e. not root?
if yes, please let me know which file to edit.
Hello geek.ksa :)
All the boot scripts are run as root but you can use the su command to switch user.
As for which is the most appropriate place to add that, it depends on which distro you are using and at what point in the boot process you want it to run.
More information please!
Since you did not specify a distro I would guess the most generic way to do what you want is by adding something like the following to your /etc/init.d/rc.local or whatever it happens to be the generic place to toss startup stuff for your distro.
Thanks guys, su -c never crossed my mind, because i never used it.
Thanks cmdln for the tip.
|All times are GMT -5. The time now is 10:33 PM.|