rc.d and environment variables
Victor Sudakov
vas at mpeks.tomsk.su
Fri Dec 24 08:03:58 UTC 2010
Da Rock wrote:
[dd]
> Doesn't the rc.d script run as root initially and then a method (default
> flags, etc) is used to change the owner to a nobody (restricted
> privilege user)? Just my 2c, but please correct me if I'm wrong.
That is probably correct, rc.subr does "su -m $user", but the login
class is not applied there, nor is the users's shell called.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru
More information about the freebsd-questions
mailing list