mudlark;235065 Wrote: 
> 
> I tried the line and it works......
> 

Groovy!

> 
> Can you let me know how to edit fstab to make sure the thing mounts at
> log on?
> 

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


-- 
bhaagensen
------------------------------------------------------------------------
bhaagensen's Profile: http://forums.slimdevices.com/member.php?userid=7418
View this thread: http://forums.slimdevices.com/showthread.php?t=39282

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to