Questions re samba/cifs stuff in general

Stuart Sears stuart at sjsears.com
Thu Jan 31 10:22:01 UTC 2008


Mitsuho Iizuka wrote:
[Rick's samba advice]
> I would like to mount it automatically.
> So, is it possible to put those lines into /etc/fstab as follows ?
> 
> //server/share /mountpoint cifs user=workgroup/username%password 0 0


of course, but following up on Rick's point:
/etc/fstab is readable by all.

I would do this instead:

//server/share /mountpoint cifs 
domain=workgroup,credentials=/root/samba.cred 0 0

and in the /root/samba.cred file you would have
username=bob
password=password

or something like that.

This file does not have to be in /root, but it should be readable only 
by root.

regards

Stuart
--
Stuart Sears RHCA etc.




More information about the fedora-list mailing list