On Tue, 29 Mar 2005, Frank Schafer wrote: > May be it is an advantage that runscript (by the way, minicom > installs /sbin/runscript too) takes care of all the variables set up > (these I never found). So, for instance, if I start my postgresql as > root the processes started are running under the postger user and I > never figured out why. That's IMHO more annoying than helpful.
Not sure what you mean by this - these days its pretty normal for a service to startup and then drop privileges and run as a normal UID. Or do you just ignore security issues and just run everything as root? Secondly, (as per the Gentoo documentation), a lot of services have config files that live in /etc/conf.d. For example, looking at /etc/conf.d/ntpd, I see that ntpd runs as the user ntp and the group ntp. If I ever needed to change the UID I can do it right there. Some services have their own config files where one can see and change users (i.e. apache, mysql, etc). -- -- [email protected] mailing list
