Re: Prevent umounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 12 Jun 2009, Donato Capitella wrote:
> If the user issues an umount command, he can still umount the filesystem
> and just gets a warning.

Why is the user (!root) allowed to unmount anyway? I guess the "user" or 
"owner" option has been used when the fileystem was mounted?

> My question is: how do I prevent the user from umounting the filesystem?

What are you really trying to do? If a mere user was allowed to /mount/ 
why do you want to disallow /unmounting/?

Maybe sudo(8) can help: allow the user to /mount/ but remove the "user" 
and "owner" option from fstab - that way a user can still mount but it's 
not "her" mount any more, thus umount will fail.

Christian.
-- 
BOFH excuse #377:

Someone hooked the twisted pair wires into the answering machine.

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux