How to set umask for daemon only in ubuntu 18.04?

Ask Ubuntu Asked by Karthik Joshi S on November 1, 2020

I am working on OS hardening tasks. Need to set umask value for all the daemon processes running in the ubuntu system. It would be great if someone can share the steps.
Note: umask need not be set for the entire system which will be done by adding umask value in ~./profile file.

Add your own answers!

Related Questions

Having trouble transferring file to a new folder

1  Asked on December 6, 2021 by eric-biggin-freeman


Weird browser colors in Ubuntu 18.04

4  Asked on December 6, 2021 by ccristian


Boot time is very slow

1  Asked on December 6, 2021 by likhit-daggubati


Viewing the contents of a flatpak

1  Asked on December 6, 2021 by dan-scally


How can I extract a page range / a part of a PDF?

21  Asked on December 5, 2021 by user72469


Failed to get canonical path of /cow

6  Asked on December 5, 2021 by ulkancst


vsftpd service will not start for 14.04

1  Asked on December 5, 2021 by shannon-mount


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP