Linux Question about SMB & fstab

statik213

Golden Member
Oct 31, 2004
1,654
0
0
Well, I've got a linux box and a windows box on my home network and would like to have access to my windows files from linux box.
The file sharing is working perfectly and I have setup the shares to automount on boot by adding entries like below to /etc/fstab:

//server/share /mnt/dir smbfs username=user,password=xxx 0 0

Now, the problem is the password (xxx) is in plain-text and can be seen by anyone. I don't like this. How can I get this same effect and secure my password?