[Samba] smbmount

Alexandre Miguel Fernandes Mendonça alexandre.mendonca at bnc.pt
Wed Mar 13 02:01:15 GMT 2002


**********************************************************************
Este email assim como os ficheiros que possa ter em anexo são confidenciais
e para uso exclusivo da pessoa ou organização para o qual foi enviado.
Se recebeu este email por engano por favor notifique Redes at bnc.pt

Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
não tendo sido encontrados virus.

www.mimesweeper.com
***********************************************************************



-----Original Message-----
From: bao [mailto:bao at gibbons.com]
Sent: Segunda-feira, 11 de Março de 2002 22:18
To: samba at lists.samba.org
Subject: [Samba] smbmount



We have two linux boxes A and B, and would like to mount one shared
drive on A to B automatically when B starts up. smbmount requires a
password, but if I put it in a cron script with the option
password=<arg>, then it is plain text, and is visible to everyone.

Is there any way to overcome this ???

Thanks

Try to create a file whith:  username=<arg>
                             Password=<arg>

Put this file in root so that only users with root previleges can access.

In smbmount file instead of username and password, do this:
,credentials=<path to file>

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list