Operating System - HP-UX
1833030 Members
2299 Online
110049 Solutions
New Discussion

Re: umask for only a few select users

 
SOLVED
Go to solution
Coolmar
Esteemed Contributor

umask for only a few select users

Hi,

We are using HP-UX 11.11 and the default shell is /usr/bin/ksh. The default mask is 644 or in umask terms 022. I want to change that value for a few select users to 664 (02). I put "umask=02" in their .profile(s) but it doesn't seem to take. What am I doing wrong?
4 REPLIES 4
Darrel Louis
Honored Contributor

Re: umask for only a few select users

Hi,

The umask in the .profile should be:
002.

When you login as the user and type "umask", what is the outcome.

Darrel
Tomek Gryszkiewicz
Trusted Contributor
Solution

Re: umask for only a few select users

Put:
umask 02
in users .profile, without "="
Devender Khatana
Honored Contributor

Re: umask for only a few select users

Hi,

Put the umaskin the .profile of the desired users accordingly. If the umask has to be same for all users than put it just in /etc/profile.

HTH,
Devender
Impossible itself mentions "I m possible"
Coolmar
Esteemed Contributor

Re: umask for only a few select users

The "=" sign was incorrect.