[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Solved: smbmount command w/o password



Solved.

//WILLEM-JAN/muziek /muziek smbfs ro,uid=1000,gid=1000,password=

did the trich

If you leave the "password=" blank you don't give a password and you
auto-mount

HTH,

Willem-Jan Meijer 
<-- Alle inkomende en uitgaande e-mail worden gescand op virussen  -->
<-- All incoming and outgoing e-mail is scanned for virusses -->

-----Oorspronkelijk bericht-----
Van: Mark Schouten [mailto:schoutjm@jeeves.mine.nu] Namens Mark Schouten
Verzonden: maandag 3 maart 2003 16:04
Aan: Willem-Jan Meijer
CC: debian-user@lists.debian.org
Onderwerp: Re: smbmount command w/o password

On Mon, Mar 03, 2003 at 03:39:02PM +0100, Willem-Jan Meijer wrote:
> Hello,
> 
> ATM the line  //WILLEM-JAN/muziek		/muziek	smbfs
ro,uid=1000,gid=1000
> is in fstab, but when I reboot this directory isn't mounted because
there's 
> asked for a password, but I don't need to give a password. Is there a way
to 
> set this line so that I'm not asked for a password?

Yes, make the line as follows:

//WILLEM-JAN/muziek /muziek smbfs
ro,uid=1000,gid=1000,username=XXXXX,password=XXXXX

But, this does take a security issue with it. Your password is readable
in your fstab.

Greetz,

Mark

-- 
Mark Schouten
Alphen aan den Rijn, Holland
debian@jeeves.mine.nu


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: