Re: CIFS mounting

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

 



On Mon, 2007-04-09 at 20:12 -0600, Ashley M. Kirchner wrote:
> Hi gang,
> 
>     I need to auto-mount three CIFS and I'm not sure how to get that 
> done with passwords and all.  Right now, manually I do:
> 
>         mount -t cifs //server1/OData /mnt/server1/OData \
>               -o user=username,passwd=userpasswd
Just add the user/passwd fields as options, like you would noexec or
umask or similar:

//server1/OData   /mnt/server1/OData   cifs   user=foo,passwd=bar   0 0

(The fsck/dump options are both set to 0 since the server's OS would be
responsible for the raw filesystem maintenance.)
-- 
Peter Gordon (codergeek42) / FSF & EFF Member
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
  DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
Blog: http://thecodergeek.com/blog/ 
About: http://fedoraproject.org/wiki/PeterGordon

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux