On Tue, February 3, 2015 4:32 pm, Tim Dunphy wrote: > Hey guys, > > I need to give the 'nobody' user (which is what our apache runs as) no > password access to a file, via sudo. This is what I've tried: > > nobody ALL=(ALL) NOPASSWD: > /var/www/qa/launchpadnew/site/ftp_check.php > > But if I become the nobody user and try to access the file, it tries to > prompt me for a password: > > -bash-3.2$ php /var/www/qa/launchpadnew/site/ftp_check.php > [sudo] password for nobody: > > Can someone please point out for me where I'm going wrong? Cuz I don't see > it!! > This whole thing sounds scary... Is there really no other (less scary) way to achieve what you want to achieve? Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos