Thread (2 messages) flat view 2 messages, 2 authors, 2003-02-05

Re: Creating RAM disks as a non root user.

From: Wolfgang Denk <hidden>
Date: 2003-02-04 21:52:01

In message [ref] you wrote:
Here is the recipe we use to mount ramdisk images without being a root user.
...
Note that the option 'user' in fstab allows any user to mount/unmount this specific entry.
Just _mounting_ ramdisk images is not the problem...
You can either create new ramdisk images, or mount already existing ones (very useful!).
...but to create a useful ramdisk image you will usually also have to
create the device nodes in the /dev directory. And this is  something
that  really  _requires_ root permissions (or it would otherwise open
huge security issues).


And from the system administrator's point of view allowing anybody to
mount any images he likes is a serious security issue, too.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"If the code and  the  comments  disagree,  then  both  are  probably
wrong."                                                - Norm Schryer

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help