[nycphp-talk] SSH2_CONNECT
Ajai Khattri
ajai at bitblit.net
Thu Jul 30 15:35:45 EDT 2009
On Thu, 30 Jul 2009, Michele Waldman wrote:
> The scenario is I'm running a php script but I want to switch linix users?
>
> Do I have to use ssh2? I would have to go off the server and come back in
> just to switch users?
Only root can change user and I doubt your script will be running as root
(otherwise any PHP scrpt could become any user and wreak havoc on a
server!).
This begs the question: why do you need to change user?
--
Aj.
More information about the talk
mailing list