Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
if I change /etc/login.defs so that umask 002, but users had already been created while the value was umask 022, then are
the users home directories NOT group writeable? What utility do I use to change this? facls?
Also ... if I create an /etc/profile.local with the only command being umask 002, will this have the effect of causing all new files
created by users to be group writeable?
This will just change their home directories. If you want to change all their files use a "-R" as an option for the chmod command. Note, this can piss off users if they don't expect it. I would add a message about it to /etc/motd if it is a change in policy.
I believe that, from now on because I have created the /etc/profiles.local file, users newly created files will by default be group writeable ... am I correct in believing that?
I wish I could correctly answer that for you... but I am not certain. I would test it to be sure. I have never seen the /etc/profiles.local before. I don't use bash myself except occasionally so I have never played with it too much.
I thought global information was in /etc/profile -- but have no idea if there is a .local version of that or what the difference would be.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.