Subject: Re: [PHP] System() works on /usr/sbin commands
>
>
> Check out sudo (man sudo), but you must be carefull.
>
> tirumal b wrote:
>
> > hello,
> >
> > yes the /usr/sbin commands require root permissions
> > but is there any way to run these comm
Check out sudo (man sudo), but you must be carefull.
tirumal b wrote:
hello,
yes the /usr/sbin commands require root permissions
but is there any way to run these commands using
system() through suid or something.please let me know
Thank you
__
Do you Yahoo!?
Y
* Thus wrote tirumal b ([EMAIL PROTECTED]):
> hello,
>
> yes the /usr/sbin commands require root permissions
> but is there any way to run these commands using
> system() through suid or something.please let me know
I would seriously not recomend not to suid the script. The
/usr/sbin/* files re
hello,
yes the /usr/sbin commands require root permissions
but is there any way to run these commands using
system() through suid or something.please let me know
Thank you
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://s
You usually need to be root to execute /usr/sbin/*
check the permissions of the file you're trying to execute.
On Wednesday 30 July 2003 11:13 pm, tirumal b wrote:
> hello,
>
> i was using system function to invoke useradd
> command but it doesn't work. well it works for all the
> commands bu
afaik requires useradd like the other sbin stuff root rights - and php
doesn't run as root
> hello,
> i was using system function to invoke useradd
> command but it doesn't work. well it works for all the
> commands but not those in /usr/sbin. why is it so.
>
6 matches
Mail list logo