[ale] user using mount

David Corbin dcorbin at machturtle.com
Sun May 28 09:30:46 EDT 2006


On Sunday 28 May 2006 07:32 am, Keith Hopkins wrote:
> David Corbin wrote:
> > On Sunday 28 May 2006 06:37 am, Keith Hopkins wrote:
> >> David Corbin wrote:
> >>> Is there a way to mount an NFS export as "dump user", without having to
> >>> configure it in fstab?  mount seems to object to this...
> >>
> >> `mount` usually requires 'root' unless it is configured properly in
> >> /etc/fstab, or under an automounter, or under by running mount via
> >> `sudo`.
> >
> > Is there a security justification for this limitation?
>
> Yes.
>
> Most of this goes back to access permissions to the devices under /dev that
> you want to mount.
>
> ll /dev/hda
> brw-r----- 1 root disk 3, 1 2006-05-27 18:25 /dev/hda1
>
> Guess who rw has access?  Not just any 'dumb user', just 'root'. Ci Zhi.

Right.  So an attempt to mount THAT device should fail.  But I can't seem to 
run an arbitrary mount command for an NFS volume as 'dumb user'.




More information about the Ale mailing list