Re: Questions re samba/cifs stuff in general

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

 



On Thursday 31 January 2008, Stuart Sears wrote:
>Mitsuho Iizuka wrote:
>[Rick's samba advice]
>
>> I would like to mount it automatically.
>> So, is it possible to put those lines into /etc/fstab as follows ?
>>
>> //server/share /mountpoint cifs user=workgroup/username%password 0 0
>
>of course, but following up on Rick's point:
>/etc/fstab is readable by all.
>
>I would do this instead:
>
>//server/share /mountpoint cifs
>domain=workgroup,credentials=/root/samba.cred 0 0
>
>and in the /root/samba.cred file you would have
>username=bob
>password=password
>
>or something like that.

Humm, yes I see.  Also that for more than one share, which may have different 
usernames & passwords, one would need a samba.cred per share.  Probably best 
to rename that to the shares alias in the hosts file, in my case shop.cred

>This file does not have to be in /root, but it should be readable only
>by root.
>
>regards
>
>Stuart

Thanks Stewart, usefull info.

>--
>Stuart Sears RHCA etc.



-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Welcome to the Zoo!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux