[Samba] smbmount

Urban Widmark urban at teststation.com
Mon Mar 11 15:53:08 GMT 2002


On Mon, 11 Mar 2002, bao wrote:

> 
> 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 ???

man smbmount, see the credentials option for how to put the password in a
separate file that you can protect.

But I don't see why you have to make the cron script readable to everyone.

/Urban





More information about the samba mailing list