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

OFF TOPIC - chmod with root permissions



Hi list.
I wrote a management script for my Linux/UNIX systems.
I want to be able to use it with web interface, however, since it uses the
adduser, passwd and userdel commands and it does some editing to the passwd
file it will not run under the usually nobody user witch the apache server
uses (on my system anyway).

My question is simple.
should i create a new virtualhost with root permissions OR apply to the
script i wrote the option to be run as root no meter who is running it ?

Waiting for tour comments....

Mike



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il