CIFS Share with encrypted credentials

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




Hi,

I have a CIFS share that I mount on a CentOS6.4.

Currently I am keeping the password in a regular hidden file, for
example /test/.cred with the username and password.
the /etc/fstab directive points to that file.
for example:

//10.0.0.1/share     /mnt        cifs       
defaults,credentials=/test/.cred 

Since this file is readable by the root user, I figured if there might
be a way to encrypt this file, and with decrypt this file with a script
so the mount will succeed, and then encrypt it again. or maybe there is
another way of doing this? any ideas?



---
Dolev
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux