1754420 Members
2648 Online
108813 Solutions
New Discussion

umask in Trusted Mode

 
Carme Torca
Super Advisor

umask in Trusted Mode

Hi,

I have convert one system in trusted mode.
But I have one problem, I need the 022 umask, and by default the systems now is 077 umask.

I have put in the /etc/default/security
 
# Users attempting to su to root must be a memeber
# of this group
SU_ROOT_GROUP=switch

# Default umask value upon login. Note: This
# attribute controls umask(2) of all sessions
# initiated via pam_unix(5) and/or pam_hpsec(5).
# Must have a leading zero to denote octal.
UMASK=0022


but the systems says me that are umask 077.

# umask
077
#


Is it possible to change it?
Thanks a lot of,
Carmen.

Users are not too bad ;-)
3 REPLIES 3
Turgay Cavdar
Honored Contributor

Re: umask in Trusted Mode

Hi,

You can put in /etc/profile  file as : 

 

umask 022

James R. Ferguson
Acclaimed Contributor

Re: umask in Trusted Mode

Hi Carme:

 

Did you log out and login with a new session and test?

 

Regards!

 

...JRF...

Dennis Handly
Acclaimed Contributor

Re: umask in Trusted Mode

Or add umask to individual ~/.profile files.