This is being ran on a secure server. So security of the script is not important.
No one else then I has access to the machine locally or remotely. I hava apache
installed and I don't feel like recompiling it to access the scripts as root.root.
No one else even has access to the apache side of the server either. To be honest,
this is my firewall and I am trying to make a web interface to look at certain
stats and make minor modifications (ie: start/stop services, etc...). So security
is not an issue here. I have been beeting myself up over trying to get this damn
script to work for the last 5 days now. If you can give me some insight on how to
get it to work, it would be greatly appreciated.
If I have to, I will recompile apache to use root.root as it's user. I would
prefer not doing that since I may run a simple web site from it some time in the
Thanks in advance.
> > #!/bin/sh
> > I gave it the permission of 5555.
> > When it is ran by my non root account, I get this message:
> > ipchains: Permission denied (you must be root)
> You can't do that. You don't really want to do that, setuid on scripts
> would be Bad, therefore we don't do it. You should investigate `sudo' or
> `super' or something similar instead.
> (seen mid-windows 98 installation) | http://piglet.is.dreaming.org