3 replies
by zbrain75
For information about the sticky bit refer to:
http://ctdp.tripod.com/os/linux/usersguide/index.html
Item 6, "Linux Files and file permissions" explains it.
One possibility is for you to set the user ID bit on the firewall script file. As long as your user's have execute permission on the file, they can run it, and the file will execute as though the file's owner is running it. In this case, you would need the file owner to remain as root. The security concern here, is that if someoneis able to break out of the firewall script program, they would then be running as root! That is why security experts advise using this feature with caution.
Why don't you put the call to your firewall script in /etc/rc.d/rc.sysinit. This is how I call my firewall script and the user's don't need to deal with it. Your situation may be different than mine, however. The rc.sysinit script is run every time the system boots and it is run with root privileges, before any user logins. If you're interested, the How Linux works manual at
http://ctdp.tripod.com/os/linux/howlinuxworks/index.html
explains the boot process.
Hope this helps.
by cp409sd
by cp409sd
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending