1837409 Members
3661 Online
110116 Solutions
New Discussion

Re: umask

 
SOLVED
Go to solution
tigm7103105q1
Contributor

umask

Hi!,
I want to know,how I can to change the default mask (umask) in the OS HPUX-11.xx for all users.

THANK's

NOTE: whitout use ".profile"
4 REPLIES 4
Helen French
Honored Contributor
Solution

Re: umask

You can put the value in /etc/profile (POSIX shell users)

OR find out the global profile file for users and set it there
Life is a promise, fulfill it!
Michael Tully
Honored Contributor

Re: umask

This should be done as soon as your system is installed. The only (best) place to have it is in /etc/profile like this:

# Set umask
umask 022
Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor

Re: umask

/etc/profile will do the job

At least for Posix users.

The effect however is as if it was put in all the .profile files.

Now some users won't react well to the change. files will get messed up when created, things like that.

For those specific instances override the umask in the .profile file.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
kamal_9
Super Advisor

Re: umask

Hi
You can edit /etc/profile but this is for posix shell users