On Tue, 17 Mar 2015 15:51:59 Linda Walsh wrote:
Rodney Baker wrote:
Is there still a valid reason to keep /etc/samba/cifstab, or is the LSB way now to move the contents of that file to /etc/fstab?
----
File protections:
llg /etc/passwd
-rw-r--r-- 1 root root 11397 Feb 28 16:23 /etc/passwd
llg /etc/samba/cifstab
-rw-rw---- 1 root Administrators 705 May 11 2013 /etc/samba/cifstab ---- (assuming you need to supply passworded credentials to access your share(s) as you -- if not, and you don't need to protect the passwds, then maybe not).
Thanks, Linda. Well, I do run my samba network as a domain and use passworded credentials, but this is a home network and nobody else has root access to the machine(s), so I don't really *need* to - I do it purely for learning purposes. :) So, there's no real risk to moving the relevant lines to /etc/fstab, if that is what is required to make it work again. Looks like a few more hours pouring over samba 4 docs required...
I did use the indirection thing and store credentials in my ~/.ssh dir for a while, but then ssh sabotaged security and disallowed the NT-security model of allowing files to be owned by a group). Alot of lame linux utils are doing that these days.. like 'group' ownership/access is somehow pointless/ worthless.
I still find it useful, but mainly to provide multi-user write access to shared data files rather than control access permissions for configs or executables. Again, home network vs corporate network. Mind you, the "wheel" group does come in handy for allowing certain sysadmin tasks to be done by unprivileged users on some Raspberry Pi's that we have dotted around the place doing data collection duties. Regards, Rodney -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org