Re: Root sudo? (was Re: Cron Job Failure)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Burger wrote:

On Tue, April 26, 2005 12:50 pm, Allen Chen said:


Hi, all

I got another problem with RedHat 9.  The sudo doesn't work any more
with root. It hangs. But it still works with other users.

I don't if anybody has the same issue or not.

Allen.



First, it's poor form to snarf another topic/thread, and start up a new question that's unrelated to the previous.

Having said that, as I'm no longer running RHL9, I can't answer on that
front...however, I've never run into this.

Realizing, up front, that this doesn't answer your question, I do have
ask...why would you bother using sudo as root?  The whole point of sudo is
to be able to run commands as root...if you're already root, why would you
need to use sudo?



I'm not using sudo with root. The problem is that the php script forks a process using sudo.
Such as the php script:
<?


exec("sudo /usr/local/bin/setpassword $uid $pass");

?>

Thanks any way.

Allen.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux