[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to access loop-aes mounted vfat filesystem as non-root user- help required!
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Phil H schrieb:
> HOWEVER it seems that if I do not put the line in
> /etc/fstab and instead try to mount -o with all the
> same options from the commandline, then I can only do
> that as root.
>
> Is that correct?
yes.
think about it: *any* user would be using "-o" then and doing perhaps
nasty things. /etc/fstab is (hopefully) only writeable by root and *he*
determines the -o(ptions) to mount a certain filesystem.
my "man 8 mount" says:
(iii) Normally, only the superuser can mount file systems. However, when
fstab contains the user option on a line, anybody can mount the
corresponding system.
...and when you "do not put the line in /etc/fstab", there is no "user"
option in fstab any more - hence only the superuser can mount it.
- --
BOFH excuse #57:
Groundskeepers stole the root password
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCmwHg+A7rjkF8z0wRAstOAKCNJ/0M9Ghb0QPa3eTUKli7HT7fPACdHpNW
k8RzkF7jtcpEEimQi8x+lys=
=b7qI
-----END PGP SIGNATURE-----
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/