Encrypted password in CIFS credentials file
Issue
- Can an encrypted password in credential file be used with cifs mounts?
-
For example in the following example "password" is not encrypted:
# cat /root/.pass username=domain\user password=password # cat /root/.pass2 username=user2 password=password domain=domain # mount -t cifs -o credentials=/root/.pass //<smb-server>/<path> /<mount-point>/
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.