[NCLUG] samba share question

Jim Ankrum jimankrum at hotmail.com
Tue Aug 21 16:42:11 MDT 2001


I have a FreeBSD machine that has Samba set up on it and all my Windows
machines just love it :)

What I'm trying to figure out now is when I'm in Linux how do I mount
the shares without being root? If I as jim try to "mount -t smbfs
//192.168.1.1/jim /home/jim/samba" I get "mount :only root can do that"
I type the same as root, it asks for the password, I enter it and viola!
I'm there. 

Here at home I can just add some stuff to /etc/rc.local to mount the
share at boot and be done with it. I'm the only one here that can read
it. This can't be the best way to do it though. What would be the best
way to handle this in an environment where security is an issue?

One other thing... I haven't looked yet but since I mounted my user
directory as root are any files I modify owned by root? That would suck
:p

Thanks,
Jim



More information about the NCLUG mailing list