On Fri, 2002-09-06 at 19:47, mick wrote:
> My server 24/7 ... the system does hang, painfully during the boot process, I
> think using fstab without passwd's is causing the problem, but I'll be
> buggered if I'm going to put palin text passwds into fstab!!
New versions of samba support the credentials= option in fstab, which
lets you specify a file to read a username and password from. So you
can have a line like the following in your fstab:
//stage/swads_test /mnt smbfs credentials=/etc/domain-login 0 0
where /etc/domain-login contains the login name and password for the
share:
username = joebob
password = s3krit
And everything will work goodly. The advantage to this approach is that
/etc/domain-login can be readable only by root. Check the smbmount(8)
man page for details.
--
Pete
[EMAIL PROTECTED]
They thought you could see life through books but you couldn't,
the reason being that the words got in the way.
-- Nanny Ogg
(Terry Pratchett, Carpe Jugulum)
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug