On Monday 08 October 2007 10:54:41 G T Smith wrote:
Anders Johansson wrote:
On Sunday 07 October 2007 14:23:50 G T Smith wrote:
Unfortunately if you can disconnect a resource, you can also reconnect something else at the same point, and that could be a security issue. If the location is taken it makes it more difficult (but not impossible) to hijack.
No you can't, because linux will only allow you to mount things as a user when permission is explicitly given in fstab. Which means the worst they could do is remount the same resource
If you think this is wrong, please give a concrete example of how it could be done
<snip something about home directories on samba shares> Obviously your scenario is just wrong. First of all, for the kind of shares you're talking about, there are the non-mounted resources (smb:// in various browsers and vfs implementations). You can't have your home directory on samba anyway (or at least you shouldn't). So that eliminates your scenario Secondly, one single mount point for all users is just bad, it won't work. Thirdly, if there really is a need for mounting, there is FUSE (but there isn't a need, so...) Finally, for the kind of "conditional mounts" you refer to, there is autofs In no case do you ever have to give a normal user root access Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org