CVSROOT:        /cvs
Module name:    src
Changes by:     mill...@cvs.openbsd.org 2019/06/19 10:26:27

Modified files:
        usr.bin/su     : su.c 

Log message:
Fix regression introduced in rev. 1.59 where the wrong shell is
checked in -m mode for non-root.  The intent is that non-root
shouldn't be able to run their own shell as the target user if the
target user has a shell that is not listed in /etc/shells.
This makes the code match the manual once again.  OK schwarze@

Reply via email to