cifs mount options

Manuel Arostegui Ramirez manuel at todo-linux.com
Tue Feb 13 21:49:19 UTC 2007


El Martes, 13 de Febrero de 2007 22:17, Akemi Yagi escribió:
> On Tue, 13 Feb 2007 11:05:16 -0800, Alan M. Evans wrote:
> > My current (non-working) fstab entry appears thus:
> >
> >   //merope/jdrive /mnt/jdrive cifs
> >   user=xxx,password=xxx,uid=112,gid=101,file_mode=0666,dir_mode=0777 0 0
>
> The options I have in my fstab look something like:
>
> user,uid=1000,rw,suid,credentials=/root/credentials.txt
>
> The credentials.txt file contains 2 lines, username=xxx and password=yyy
>
> One advantage about using the credential option is that this file can be
> placed somewhere non-root users cannot access and that password is no
> longer visible in /etc/fstab.
>
> Akemi

Yep, I agree, using username and password in fstab rather than credentials is 
a bad security policy by default.
Just my 2 cents...
-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.




More information about the fedora-list mailing list