Re: Page that checks if a user exists on a remote system

From: Date: Thu, 02 Dec 2004 06:23:32 +0000
Subject: Re: Page that checks if a user exists on a remote system
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-203323@lists.php.net to get a copy of this message
I have put this in my sudoers file using visudo to edit it: www ALL = NOPASSWD: /usr/local/bin/sudo puser, (puser) NOPASSWD: /usr/bin/ssh /usr/bin/id However the www user is still being asked for a password. Is this too off topic for this list? Jonathan "Jonathan Duncan" <jonathan@nacnud.com> wrote in message news:20041202043903.82554.qmail@pb1.pair.com... > Perhaps this gets more into server administration, but it is mixed so much > into the php script, which is why I am asking it here. > > Yes, sudo was one of my first thoughts. As far as the implementation goes > though. How do you work the remote access bit? Using ssh do you use the > ssl cert switch so that the www user can shell into a remote machine? Or > does the sudo process actually make www the root user for a certain > command and can then shell into a remote machine using the root ssl cert? > Or can sudo make www into a user that can shell into a remote machine? I > am still becoming familiar with sudo. > > Thanks, > Jonathan > > > "Greg Donald" <destiney@gmail.com> wrote in message > news:ea9da26c0412011815330eec2@mail.gmail.com... >> On Wed, 1 Dec 2004 17:57:28 -0700, news.php.net <jonathan@nacnud.com> >> wrote: >>> Anyone else doing or done something like this? >> >> I use sudo when my web server needs temporary elevated permissions. >> >> >> -- >> Greg Donald >> Zend Certified Engineer >> http://gdconsultants.com/ >> http://destiney.com/

« previous php.general (#203323) next »