mount smbfs from smbfstab
Greetings, mount -t smbfs -o username=xxxxxxx,password=xxxxxx //CHADWIN/hotshare /home/chadley/hotshare/ works just fine, but only root can read and write to the share. I have added a variety of different lines to the fstab and smbfstab. I have also switch off my firewall, yet I get the same error every time I try. Does anyone here know why I can't automount this share? ======================================================================== chadlap:/home/chadley # rcsmbfs start Mount SMB/ CIFS File Systems from /etc/samba/smbfstab //chadwin/hotshare on /home/chadley/hotshare type smbfs .Password: ...failed Error: timeout while mount. ========================================================================= chadlap:/home/chadley # mount hotshare/ mount: special device //chadwin/hotshare does not exist ========================================================================= TIA Chadley
Hi, I use this line on smbfstab and it works. The only downside is that only the user cwilson is allowed to write on it. //server/share /media/share smbfs username=user,password=xxxx,uid=cwilson,gid=users Regards, Rui Santos Chadley Wilson wrote:
Greetings, mount -t smbfs -o username=xxxxxxx,password=xxxxxx //CHADWIN/hotshare /home/chadley/hotshare/
works just fine, but only root can read and write to the share.
I have added a variety of different lines to the fstab and smbfstab.
I have also switch off my firewall, yet I get the same error every time I try.
Does anyone here know why I can't automount this share?
========================================================================
chadlap:/home/chadley # rcsmbfs start Mount SMB/ CIFS File Systems from /etc/samba/smbfstab //chadwin/hotshare on /home/chadley/hotshare type smbfs .Password: ...failed Error: timeout while mount.
=========================================================================
chadlap:/home/chadley # mount hotshare/ mount: special device //chadwin/hotshare does not exist
=========================================================================
TIA
Chadley
On Thursday 03 November 2005 12:08, Rui Santos wrote:
Hi,
I use this line on smbfstab and it works. The only downside is that only the user cwilson is allowed to write on it.
//server/share /media/share smbfs username=user,password=xxxx,uid=cwilson,gid=users
Just a litle advice: as root make a file called /root/server.cred containing: username = user password = xxxx and modify your fstab to: //server/share /media/share smbfs credentials=/root/server.cred ,uid=cwilson,gid=users (in one line :-) that protects your SMB password from been readable by anyone with access to your filesystem... regards j -- Jonas Helgi Palsson "Microsoft is not the answer. Microsoft is the question. NO is the answer." -Erik Naggum
participants (3)
-
Chadley Wilson
-
Jonas Helgi Palsson
-
Rui Santos