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

Re: New user for new package



Andres Seco Hernandez <AndresSH@ctv.es> writes:

> How must i run it then? I supose that the init.d script to start/stop the
> daemon is run as root, so, the daemon itselft too. Then, must i change
> user efective id inside the code?

% man start-stop-daemon
[...]

       -c|--chuid username|uid
              Change  to  this  username/uid  before starting the
              process. You can also specify a group by  appending
              a  :,  then the group or gid in the same way as you
              would for the `chown' command (user:group)...

-- 
	 Carey Evans  http://home.clear.net.nz/pages/c.evans/



Reply to: