Linux Security

From miki
Revision as of 18:04, 24 June 2015 by Mip (talk | contribs) (Created page with "Anything about security on linux. When topics are already covered in other pages, give links to them. == Setting umask == Default setting for umask on Ubuntu / Debian is '''0...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Anything about security on linux. When topics are already covered in other pages, give links to them.

Setting umask

Default setting for umask on Ubuntu / Debian is 022, meaning all created files / folders are by default world readable.

To change the defaults (see [1]) to 027:

Add to File:/etc/sudoers:

Defaults umask = 0027
Defaults umask_override

Edit File:/etc/login.defs:

UMASK       027


TO BE CONTINUED