[ltp] NAS with r/w access at boot time in fstab

Eben King linux-thinkpad@linux-thinkpad.org
Wed, 12 Jan 2005 13:00:18 -0500 (EST)


On Wed, 12 Jan 2005, Matt Graham wrote:

> Try this instead:
> 
> //machine/disk1  /mnt/disk1  smbfs  
> rw,umask=000,exec,username=USER,workgroup=GROUP,password=PASS  0  0
> 
>  ..."user" is not useful unless it's combined with "noauto".  You need to 
> specify the username, workgroup, and password, either the way I've 
> described or in a credentials file ("man smbmount" for that) for it to 
> mount without user input.  HTH,

If you put your SMB password in /etc/fstab, make _sure_ it's not 
world-readable.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
SAGITTARIUS:  All your friends are laughing behind your back... kill
them.  Take down all those naked pictures of Ernest Borgnine you've got
hanging in your den.  -- Weird Al, _Your Horoscope for Today_