]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
oops, only local passwd file auth requires root privs.
authorwessels <>
Fri, 11 Oct 2002 09:05:41 +0000 (09:05 +0000)
committerwessels <>
Fri, 11 Oct 2002 09:05:41 +0000 (09:05 +0000)
helpers/basic_auth/PAM/pam_auth.c

index b1c559e5af79dca7d53e53fdb6329ccf1c6b4cda..d815a78ea3c341412f091bbf72e5dfad77275034 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: pam_auth.c,v 1.10 2002/10/11 03:01:23 wessels Exp $
+ * $Id: pam_auth.c,v 1.11 2002/10/11 03:05:41 wessels Exp $
  *
  * PAM authenticator module for Squid.
  * Copyright (C) 1999,2002 Henrik Nordstrom <hno@squid-cache.org>
@@ -179,9 +179,6 @@ start:
        exit(1);
     }
 
-    if (0 != getuid())
-       fprintf(stderr, "WARNING: %s must be started as root\n", argv[0]);
-
     while (fgets(buf, BUFSIZE, stdin)) {
        user = buf;
        password = strchr(buf, '\n');