[CentOS] CIFS Share with encrypted credentials

Eero Volotinen eero.volotinen at iki.fi
Tue Oct 1 20:40:34 UTC 2013


>
> //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?
>
>
This is really stupid idea, don't even try to do it.

--
Eero



More information about the CentOS mailing list