Although it doesn't avoid the dangers, you can restrict which users can do
this by installing the sudo package which allows you to specify commands by
user for root privilege.
        Norm

> -----Original Message-----
> From: Brendan Knox [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, September 17, 1999 9:28 AM
> To:   Ramon Costa Castelló
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: [rtl] insmod for users
> 
> Hi Ramon,
> 
> Only root can insert and remove modules and this is done via insmod and
> rmmod.
> You can give everyone access to insmod and rmmod by typing as root
> 
> chmod 4550 /sbin/insmod /sbin/rmmod
> 
> They should end up looking like this:
> 
> -r-sr-x---   1 root     root        28244 Apr 19 22:46 /sbin/insmod
> -r-sr-x---   1 root     root         8392 Apr 19 22:46 /sbin/rmmod
> 
> This will now let users in the "root" group to insert and remove modules
> in kernel memory.  The 's' flag means that when insmod or rmmod is run,
> the owner of the file (root) will be who the binary is effectively run as.
> 
> Naturally, there are huge security implications by doing this but given
> that you're giving students access to kernel memory, I don't see that 
> it matters!
> 
> 
> Brendan
> 
> 
> > Hi,
> > 
> > I'm an assistant professor developing a couple
> > of real time exercises under RTL. Which users
> > can use insmod ?
> > 
> > Is is necessary to be the root ? (these introduces
> > several difficulties to me, because everybody needs
> > to know the root's passwd)
> > 
> > Is there any other possibility ?
> > Can members of the root's group use insmod (I didn't
> > succeed to do it ?).
> > 
> > 
> > Best Regards,
> > 
> > Ramon
> --- [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/
--- [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/

Reply via email to