Results 1 to 3 of 3
Hi,
I'm looking for a way to hide my credentials in fstab for lines like
Code:
//hostname/share smbfs /mnt/sharename defaults,username=user%password 0 0
The problem with the above line is that ...
- 03-23-2006 #1
Hiding smb mount password in fstab? Hashing?
Hi,
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?Code://hostname/share smbfs /mnt/sharename defaults,username=user%password 0 0
- 11-15-2006 #2Just Joined!
- Join Date
- Nov 2006
- Posts
- 1
Hiding SMB-password in fstab
In the following article it is explained how you can do that:
http://www.justlinux.com/nhf/Filesys...rmanently.html
- 11-16-2006 #3
that page only shows how to use a credentials file instead of username password in fstab.
i already do this and in some other places I use a script to prompt for a password and then use that which is safer.
so I still haven't found a perfect solution to this in terms of security and auto mounting after reboot.


Reply With Quote