I do of course not know your “several reasons”. But when you add the option noauto to the /etc/fstab entry, the system will not try to mount it at boot. So when your only reason is that it should not be mounted at boot (what you call “automounted”). that reason is nil.
This will considarably shorten what you have to type when you want to mount it. E.g.:
Hi Henk, Thank you very much for that piece of advice. However, that doesn’t solve my problem, or does it? Would a normal user be able to issue the mount command without being prompted for any password? Thanks. Lenwolf
Hi,
this is one of those instances where you sit in front of your computer, read the answer you just got and hit your head on the table asking how could I not see that?
Well, I couldn’t…
Thanks, your reply does the trick!
Well, first step is to minimize the command and then of course sudo, properly configured, is able to let users use commands running “as root” with the root password, the user’s password or no password.
On 2015-04-22 13:06, lenwolf wrote:
>
> Hi Henk, Thank you very much for that piece of advice. However, that
> doesn’t solve my problem, or does it? Would a normal user be able to
> issue the mount command without being prompted for any password?
Yes, you can mount something that is listed in fstab if it includes the
option “user”, as plain user without giving any password or having to
use sudo.