Hiding smb mount password in fstab? Hashing?
I'm looking for a way to hide my credentials in fstab for lines like
The problem with the above line is that it appears in the process list and that the password is in cleartext. Using credentials=file is a better start but this is still in plaintext. Can't I hash the password with md5 or something?
//hostname/share smbfs /mnt/sharename defaults,username=user%password 0 0
Hiding SMB-password in fstab
In the following article it is explained how you can do that: