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

Re: Need help packaging OpenTibia Server



On Sun, Mar 22, 2009 at 10:57, Evgeni Golov <sargentd@die-welt.net> wrote:

> * when installing create 'otserv' user and make init.d script setuid 'otserv'
>   - should be done in preinst script
>   - check out /var/lib/dpkg/info/mysql-server-5.0.preinst
>   - don't forget to remove the user upon uninstallation of the program

setuid wont work on scripts. better use su or start-stop-servers
--chuid or --user ;)
Rest fine.

Thanks for the comment, reworded it. Something must've been messed up
in my head when I wrote that -- because I didn't mean to setuid the entire
script. =]

--
Regards,

Ivan Vučica

OBJECT Networks :: www.objectnetworks.net
Cateia Games :: www.cateia.com
Zagrebački računalni savez :: www.zrs.hr
ivan@vucica.net :: ivan.vucica.net


Reply to: