A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
How to Mount Network Hard Drive (NAS) as Non-Root
Update: I figured out how to do this using fstab and wrote up a tutorial: :)
I just finished installing Kubuntu 10.04 Lucid and I'm trying to setup my backup script again. In a nutshell, I had a script that would connect using smbmount as my normal user account and then mirror my home folder to the external network attached hard drive with rsync. It is required, as far as I have tested, that rsync be run as user account and not root to work properly.
Part of the setup info I gleaned from this article:
In that article, it is recommended running this command to mount as non-root user:
chmod u+s /usr/bin/smbmnt
However, this file no longer exists in *buntu 10.04. Apparently smbfs has been modified for security reasons. Is there any other way to connect NAS drives as non-root user that is relatively secure? Struggled with this all day yesterday and still no solution.