Re: [Simple-evcorr-users] Re: Is it possible to start SEC daemon not as root?
Brought to you by:
ristov
|
From: <Dav...@Uo...> - 2005-02-16 20:51:01
|
Thanks all. I got it works using /etc/rc.d/init.d/funstions and --user user-name David On Wed, 16 Feb 2005 09:15:23 -0800 (PST), Risto Vaarandi <rva...@ya...> wrote: > DavidWang@UoGuelph wrote: > > > Sorry, I gotta make it clear: what I really want is > to run SEC as a > > service using not root uid? so SEC will always start > after system > > reboot. > > > > David, > > you can use the 'su' command for starting SEC under > non-root uid on every UNIX flavour: > > su - myuser -c "my commandline" > > Also, in the case your platform is RedHat, you can > take advantage of the /etc/rc.d/init.d/functions > library for writing startup scripts - the library > allows you to specify custom uid with the --user > option (internally, this option is based on 'su' as > well) > > hth, > risto > > > thanks, > > David > > > > > > On Tue, 1 Feb 2005 10:50:15 -0500, > DavidWang@UoGuelph > > <uog...@gm...> wrote: > > > >> Hi all, > >> > >> I am not good at Linux, but is it possible to start > SEC daemon not as root? > >> > >> thanks, > >> > >> David > >> > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT > Products from real users. > > Discover which products truly live up to the hype. > Start reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Simple-evcorr-users mailing list > > Sim...@li... > > > https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users > > > > __________________________________ > Do you Yahoo!? > Meet the all-new My Yahoo! - Try it today! > http://my.yahoo.com > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Simple-evcorr-users mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users > |