bhaagensen;235068 Wrote: > Groovy! > > > > It's easy. You need to add the 'auto' option which means mount on > 'mount -a', e.g. boot. You also need to specify the un/pw. You can > write this directly in the fstab file. So fstab could look something > like > > //server/share /mountpoint cifs user=mike,password=secret,auto 0 0 > > Don't mess with the permissions on the fstab file. I think bad things > might happend if you do. If you're sensitive about the login info you > can create a credentials file containing: > > username=mike > password=secret > > put it in say /etc/smb_credentials, and make sure only root can read it > and that all other permissions are denied. Then just replace the > user/password options in fstab with 'credentials=/etc/smb_credentials' > > Bjørn
Bjorn, I beat you to it! My new working fstab is:- //192.168.1.109/share /media/share cifs defaults,user=mike,pass=secret 0 0 As you know defaults includes auto. (Posted for the sake of others). Is defaults safe? My problems are caused by Gutsy deprecating the smb for cifs windows file system. (Bjorn, if this analysis is incorrect then I will edit. I feel that many folks might need help with Gusty.) I don't think I'll mess with the smbcredentials solution! Thanks again, Go Sweden (?) except when you are playing football. all the best, mike. -- mudlark SB3>CyrusDACX>PreXvs>260A>KEFiQ7 cable Avondale server Kubuntu Feisty Fawn, linkstation for storage. DIY SB3 3A linear power supply. ------------------------------------------------------------------------ mudlark's Profile: http://forums.slimdevices.com/member.php?userid=7151 View this thread: http://forums.slimdevices.com/showthread.php?t=39282
_______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
