diff --git a/lib/krb5/context.c b/lib/krb5/context.c index d126f7700..975db0bce 100644 --- a/lib/krb5/context.c +++ b/lib/krb5/context.c @@ -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;