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

Re: OFF TOPIC - chmod with root permissions



usually why respond to this kind of question would be are you nuts??
you want to make a suid script?and not only a suid script but one that
edit your password file?how about adding a please hack me icon on the
frontpage of your hp?:)

Ely Levy
System group
Hebrew University 
Jerusalem Israel



On Mon, 3 Jan 2000, Mike wrote:

|  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
|  
|  


=================================================================
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