On Mon, Oct 07, 2002 at 06:07:22PM +1000, [EMAIL PROTECTED] wrote:
> I would like the smbfs to mount seemlessly during teh boot process.  How do I 
> include log on details in /etc/fstab without making them 'human readable" ?   

I have in my /etc/fstab:
//flanders/server /flanders/server smbfs 
user,uid=544,gid=544,username=dfitch,password=mypasswd 0       0

then chmod 0600 /etc/fstab to make it accessable to root only.
(not perfect but works and non-root users can't read it (also
for the suspicious: no if you do a 'ps' during the mount happening
you still don't see the passwd))

Dave.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to