[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to start a user process on boot?



* Carsten Schulz <Carsten.Schulz@urz.uni-heidelberg.de> [031110 00:12]:

> I want to start a p2p program while booting. I tried to write a script 
> for /etc/init.d it works but only as root.
> I want the program starting as a user process (for security reasons).
> 
> How can root start automatically a process as a user?

Beside using start-stop-daemon, su or sudo, you could just use cron. As
the user run "crontab -e" and use @reboot as time argument.


Yours sincerely,
  Alexander

Attachment: pgp1CAed7NxX5.pgp
Description: PGP signature


Reply to: