[Tfug] Mounting smbfs
Anthony Steckman
humbl at elitemail.org
Thu Nov 13 01:13:51 MST 2003
Shouldn't it look more like this
-rw-r----- 1 root root 37 Jul 22 08:24 /root/cred
?
Terence Rudkin wrote:
> I too have hung mounting smbfs.
> This is what I did
>
> in /etc/fstab
> //server/d$ /mnt/D smbfs defaults,user,credentials=/root/cred 0 0
>
> in /root/cred
> username = somename
> password = somepass
>
> Non root users cannot see the file with permissions:
> drwxr-x--- 22 root root 4096 Nov 12 08:46 root
> -rw-r--r-- 1 root root 37 Jul 22 08:24 /root/cred
> as long as there are not member of group root.
>
More information about the tfug
mailing list