Fix krb5_kuserok() ~/.k5login check for luser==root

This commit is contained in:
Nicolas Williams
2012-01-18 23:24:22 -06:00
parent 6dd66df594
commit 9323ca9341

View File

@@ -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;