Re: System wide umask



Hi,

I believe the default umask has not changed in 5.2, it still is 022. It is
set in /etc/security/user. Search for the default user's stanza. Here's
mine:

default:
admin = false
login = true
su = true
daemon = true
rlogin = true
sugroups = ALL
admgroups =
ttys = ALL
auth1 = SYSTEM
auth2 = NONE
tpath = nosak
umask = 022
expires = 0
SYSTEM = "compat"
logintimes =
pwdwarntime = 0
account_locked = false
loginretries = 0
histexpire = 0
histsize = 0
minage = 0
maxage = 0
maxexpired = -1
minalpha = 0
minother = 0
minlen = 0
mindiff = 0
maxrepeats = 8
dictionlist =
pwdchecks =

Regards,
Zoltan


On 4/21/06, Jean-Marc Monnez <monnez.jean-marc@xxxxxxxxxxxx> wrote:

Hello all,

Since years, I have used a default umask of 022, and changed it only for
specific operations.

I have to work on AIX 5.2 (I'm no admin there), and I discover that
umask is 027 !!!
Do you know if this is linked to AIX version, ksh version ?
Seems that when I change it by hand, the new value is inherited by child
ksh.

Is it possible to change this umask and put it back to 022 "system-wide"
? Where ?
Or do I have to modify each and every script, .profile and .kshrc and
add "umask 022" ?

TIA
-- JMM

-----------------------------
Jean-Marc MONNEZ
MSA / AGORA / ATD
monnez.jean-marc@xxxxxxxxxxxx
-----------------------------



Ce message est protégé par les règles relatives au secret des
correspondances. Il est donc établi à destination exclusive de son
destinataire. Celui-ci peut donc contenir des informations confidentielles.
La divulgation de ces informations est à ce titre rigoureusement interdite.
Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur
dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que
toute pièce jointe.

This message is protected by the secrecy of correspondence rules.
Therefore, this message is intended solely for the attention of the
addressee. This message may contain privileged or confidential information,
as such the disclosure of these informations is strictly forbidden. If, by
mistake, you have received this message, please return this message to the
addressser whose e-mail address is written above and destroy this message
and all files attached.