Setuid root wont work
I have a script that uses iptables to forward ports, and I want users on
the system that dont have root access to be able to run this script and
forward ports to their systems (users need the same ports at different
times). This is all on a home network and I dont really want to hear about
security issues, I know it's not a good idea from a security standpoint.
Problem is when my script is run by a regular user with permissions 7777
(setuid set) and owned by root, it still says must be run as root. How do
I let other users run my script?
|