The umask utility sets the file permission bits of user-created files. If the default umask value, 022, is not restrictive enough, set a more restrictive mask by using this procedure.
Before You Begin
You must become an administrator who is authorized to edit the skeleton files. The root role is assigned these authorizations. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.
# ls -1a /etc/skel .bashrc .profile local.cshrc local.login local.profile
Choose one of the following values:
umask 026 – Provides moderate file protection
(751) – r for group, x for others
umask 027 – Provides strict file protection
(750) – r for group, no access for others
umask 077 – Provides complete file protection
(700) – No access for group or others
See Also
For more information, see the following: