On Fri, 17 Sep 1999, Ramon Costa [iso-8859-1] Castelló wrote:
> Is is necessary to be the root ? (these introduces
> several difficulties to me, because everybody needs
> to know the root's passwd)
insmod requires superuser priviledges. You can achieve that making this
binary SUID.
pc-1074:/sbin# cd /sbin
pc-1074:/sbin# ls -l insmod
-rwxr-xr-x 1 root root 30912 Sep 9 02:45 insmod
pc-1074:/sbin# chmod o-rx insmod
pc-1074:/sbin# chmod u+s insmod
-rwsr-x--- 1 root root 30912 Sep 9 02:45 insmod
In this was everyone in group root would be able to use it.
But please keep in mind that ability to insert any kernel modules is
equivalent to giving root access to people. Code running in kernel space has
even more priviledges than any program running as root. There are many
examples of modules on the net, which inserted give certain users root.
So there is no good solution to your problem. Programming in the kernel is
like programming under DOS - no protection.
Best regards,
--
Tomek
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/