I have created a system account that's used by some process specifically. I want to set umask 002
for it. For regular user account, I usually put configuration like this in .profile
. This approach is not suitable for system account, as .profile
is sourced at login and system account doesn't require login.
Where can I set umask 002
for system account?