[TriLUG] i need a fix cuz i'm going down with mount

Roy Vestal rvestal at trilug.org
Thu Jun 5 13:12:18 EDT 2003


to add to Jon's note, add -o credentials=/path/to/sambacreds file. I usually
put this in the /home/user directory.

The file should contain:
username=username
password=password

chmod this file 700
chown the file user.user

This way you do not have to put the username and password in /etc/fstab

----- Original Message ----- 
From: "Jon Carnes" <jonc at nc.rr.com>
To: "TriLUG Mailing List" <trilug at trilug.org>
Sent: Thursday, June 05, 2003 9:36 AM
Subject: RE: [TriLUG] i need a fix cuz i'm going down with mount


> On Thu, 2003-06-05 at 09:03, Jim Ray wrote:
> > i just noticed the samba share i had created did not retain
functionality following a re-boot after that little kernel update yesterday.
what up wiff dat?
>
> If you want the share to be persistent across boots you should put it in
> the /etc/fstab.  You could also simply put the samba command line in
> your /etc/rc.d/rc.local file (which acts as a sort of autoexec.bat)
> >
> > is the syntax for smbmount able to
use -username/winders-domain%winders-password?  is there a way to pass
parameters given linux username/password=winders username/password?
> > ethereal revealed passwords in plain text flying across the network.
not cool.  big time security risk.  who's got the remedy?
> >
>
> e.g.  smbmount //service/share /mnt/point -o
>         username=NTblah,password=xxx,uid=linuxblah,gid=users
>
> See the smbmount manpage for details.
>
> If you want to protect against folks sniffing your passwords across the
> net, then you should consider replacing your hubs with switches.  The
> cost difference is not that great anymore and the added security is
> amazing. Your network connections will then remain private.
>
> Jon Carnes
>
> _______________________________________________
> TriLUG mailing list
>     http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
>     http://www.trilug.org/faq/TriLUG-faq.html
>
>




More information about the TriLUG mailing list