Re: [SLUG] fstab and networked shared drives

From: Matt (mmiller1@mptotalcare.com)
Date: Thu Sep 12 2002 - 13:32:59 EDT


On Thu, 2002-09-12 at 13:25, Matt Miller wrote:
> On Thu, 2002-09-12 at 11:01, Jason Pratt wrote:
> > Guys I have a Windows resource I need to map from within Linux.. right now I'm
> > using LinNeighborhood but it won't remount the drive when I reboot I have to
> > manually go into it and go thru the whole thing again and mount the drive.
> >
> > What do I have to put into my fstab configuration to have my system remount
> > the resource when Linux starts up.
> >
>
> //nt_server/share /local/mount smbfs \
> username=<nt_userid>,password=<nt_password> 0 0

Just a side security note:
Adding the lines above to your fstab exposes your nt username/password
in cleartext. Your fstab is globally readable. You may want to limit the
account used for samba connections to specific shares/directories.

-- 
Matt Miller
Systems Administrator
MP TotalCare
gpg public key id: 
08BC7B06



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:26:08 EDT