Fix krb5_kuserok() ~/.k5login check for luser==root
This commit is contained in:
@@ -1484,12 +1484,6 @@ _krb5_homedir_access(krb5_context context)
|
||||
{
|
||||
krb5_boolean allow;
|
||||
|
||||
#ifdef HAVE_GETEUID
|
||||
/* is never allowed for root */
|
||||
if (geteuid() == 0)
|
||||
return FALSE;
|
||||
#endif
|
||||
|
||||
if (context && (context->flags & KRB5_CTX_F_HOMEDIR_ACCESS) == 0)
|
||||
return FALSE;
|
||||
|
||||
|
Reference in New Issue
Block a user