5 Oct
2005
5 Oct
'05
00:23
Mike McMullin wrote:
I usually only boot my file server when I need access to the files on it. Lately I've been correcting the NFS imports on the various clients, and one thing occourred to me. Since NFS is mounted at boot time, and the server may well be started after one of the clients is up and running fully, I need an easy way to have the NFS mounts mount by the various users, and without giving them the root password for their systems.
I was thinking of a simple script as follows:
#/bin/bash mount -a -tnfs
and using sudo as mounting requires root privileges.
Is there a simpler way?
Have you tried the user or users parameter in fstab?