![]() |
User NFS mounts - "mount: only root can do that"
I am working from RHCE Study Guide 5th Edition by Michael Jang. Lab 1 for Chapter 6 says that I should be able to mount a remote NFS share as an ordinary user under their home directory. However, mount requires root unless it's defined in /etc/fstab with the appropriate options. So would the following never work for a user?
Code:
mount -t nfs 192.168.1.2:/inst /home/testuser1/instIs the book wrong on this? Even the answer for the lab makes no mention of using fstab to mount as non-root user and the above command is correct according to the solution. Has anyone used the book and done this lab successfully? - it seems pretty misleading. |
Can you please check "/bin/mount" has SUID?
ls -al /bin/mount |
Quote:
Code:
-rwsr-xr-x 1 root root 58324 Sep 7 2009 /bin/mount |
| All times are GMT -5. The time now is 07:19 PM. |