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

Install Ubuntu Server 20 on NVMe M.2 Dell Precision T5610

0  Asked on December 3, 2021 by dale-nelson


Nginx 502 Bad Gateway Ubuntu 20.04, php 7.4

0  Asked on December 3, 2021


How do you find libraries (C++) in Ubuntu?

2  Asked on December 1, 2021 by bora-george


Upgrade to 20.04 from 18.04 GRUB menu hidden

2  Asked on December 1, 2021 by mesvre


Ubuntu 20.04 Automatic Login Not Working Consistently

2  Asked on December 1, 2021 by bob-reed


Ask a Question

Get help from others!

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