]> git.ipfire.org Git - thirdparty/shadow.git/commit
* lib/prototypes.h, src/suauth.c, src/su.c (check_su_auth): Do not
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 13 Jun 2011 18:26:26 +0000 (18:26 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 13 Jun 2011 18:26:26 +0000 (18:26 +0000)
commit7ebfb5c90fdd47f1eef75b82c23bfcca5b4de6af
treeeead2fc76ab96a6539b45fca22bf7cb515686f2a
parent3abd71c52695f132bae29bdf7049e9ed7ccddc40
* lib/prototypes.h, src/suauth.c, src/su.c (check_su_auth): Do not
use the pwent global variable to communicate between APIs of
different files. Added boolean parameter su_to_root to
check_su_auth().
* src/su.c (check_perms): Return the passwd entry of the finally
authenticated user. Remove usage of the pwent variable.
* src/su.c: The password of the caller is the one from the
spwd structure only if the passwd's password is 'x'.
ChangeLog
lib/prototypes.h
src/su.c
src/suauth.c