mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
d43e192e7d
su isn't the foreground process. Hopefully this won't break PAM, but I couldn't find any useful information about ache's theory that it will. Specifically, this change fixes the following: # sh # echo $$ # su - root -c id & # echo $$ The PID output changes as su seems to be kill -STOP'ing itself and catching the parent shell in the process. This is especially bad if you add a ``su - user -c command &'' to an rc script! Sponsored by: Sophos/Activestate Not objected to by: des |
||
---|---|---|
.. | ||
Makefile | ||
su.1 | ||
su.c |