Mounting SMB shares in /etc/fstab
Gavin Henry
gavin.henry at magicfx.co.uk
Wed Nov 19 08:41:22 UTC 2003
On Wednesday 19 November 2003 1:16 am, Bryan Anderson wrote:
> I'm slowly getting there.....many things have been worked through and
> solutions found, but I am having some problems still with the
> networking. I have created a link to (url) smb://10.0.0.4 which is the
> WinXP box and can browse my shares, copy files over, etc.
>
> I have created a line in /etc/fstab to automount the share:
>
> //10.0.0.4/data_shared /mnt/data_shared smbfs
> username=bryan,password=jasper,umask=000 0 0
>
As fstab is readable be everyone, I would suggest this:
//discovery/Users$ /home/ghenry/ghenry smbfs credentials=/home/
ghenry/.smbpasswd,uid=1000,gid=1000 0 0
Instead of plain readable password for everyone to see.
--
Regards,
Gavin Henry
http://www.magicfx.co.uk
http://www.suretecsystems.com
More information about the fedora-list
mailing list