CVSROOT:        /cvs
Module name:    src
Changes by:     ajacou...@cvs.openbsd.org       2018/10/16 01:07:05

Modified files:
        etc/rc.d       : rc.subr 
        share/man/man8 : rc.subr.8 

Log message:
Change the way we call su(1) in rcexec:
- drop `-'l' to prevent simulating a full login and running /root/.profile
(prodded by a mail from J Greely)
- use `-m' to preserve the environment because we now set HOME to "/" like
/etc/rc does; note that we now also clear the environment using `env -i' before
running su(1) which leaves us with only HOME, PATH and SHELL

Committing early to catch regressions fast, if any.
ok halex@

Reply via email to