[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aix-l
Subject:    Re: System wide umask
From:       Jean-Marc Monnez <monnez.jean-marc () AGORA ! MSA ! FR>
Date:       2006-04-21 11:16:15
Message-ID: 4448BEFF.C6EBDA0A () agora ! msa ! fr
[Download RAW message or body]

[Attachment #2 (text/html)]

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanks, that's it.
<br>Regards.
<p>-- JMM
<p>-----------------------------
<br>Jean-Marc MONNEZ
<br>MSA / AGORA / ATD
<br>monnez.jean-marc@agora.msa.fr
<br>-----------------------------
<p>So&oacute;s Zolt&aacute;n a &eacute;crit :
<blockquote TYPE=CITE>Hi,&nbsp;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:&nbsp;default:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; admin = false
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; login = true
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; su = true
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; daemon = true
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rlogin = true
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sugroups = ALL
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; admgroups =
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ttys = ALL
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; auth1 = SYSTEM
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; auth2 = NONE
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tpath = nosak
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; umask = 022
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expires = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYSTEM = "compat"
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logintimes =
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pwdwarntime = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; account_locked = false
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loginretries = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; histexpire = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; histsize = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; minage = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maxage = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maxexpired = -1
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; minalpha = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; minother = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; minlen = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mindiff = 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maxrepeats = 8
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dictionlist =
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pwdchecks =Regards,Zoltan
<br>&nbsp;<span class="gmail_quote">On 4/21/06, <b>Jean-Marc Monnez</b>
&lt;<a href="mailto:monnez.jean-marc@agora.msa.fr">monnez.jean-marc@agora.msa.fr</a>>
wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; \
BORDER-LEFT: #ccc 1px solid">Hello all,
<p>Since years, I have used a default umask of 022, and changed it only
for
<br>specific operations.
<p>I have to work on AIX 5.2 (I'm no admin there), and I discover that
<br>umask is 027 !!!
<br>Do you know if this is linked to AIX version, ksh version ?
<br>Seems that when I change it by hand, the new value is inherited by
child
<br>ksh.
<p>Is it possible to change this umask and put it back to 022 "system-wide"
<br>? Where ?
<br>Or do I have to modify each and every script, .profile and .kshrc and
<br>add "umask 022" ?
<p>TIA
<br>-- JMM
<p>-----------------------------
<br>Jean-Marc MONNEZ
<br>MSA / AGORA / ATD
<br><a href="mailto:monnez.jean-marc@agora.msa.fr">monnez.jean-marc@agora.msa.fr</a>
<br>-----------------------------
<br>&nbsp;
<br>&nbsp;
<p>Ce message est prot&eacute;g&eacute; par les r&egrave;gles relatives
au secret des correspondances. Il est donc &eacute;tabli &agrave; destination
exclusive de son destinataire. Celui-ci peut donc contenir des informations
confidentielles. La divulgation de ces informations est &agrave; ce titre
rigoureusement interdite. Si vous avez re&ccedil;u ce message par erreur,
merci de le renvoyer &agrave; l'exp&eacute;diteur dont l'adresse e-mail
figure ci-dessus et de d&eacute;truire le message ainsi que toute pi&egrave;ce
jointe.
<p>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.</blockquote>
</blockquote>

<br>&nbsp;</html>



Ce message est prot=E9g=E9 par les r=E8gles relatives au secret des=
 correspondances. Il est donc =E9tabli =E0 destination exclusive de son=
 destinataire. Celui-ci peut donc contenir des informations=
 confidentielles. La divulgation de ces informations est =E0 ce titre=
 rigoureusement interdite. Si vous avez re=E7u ce message par erreur, merci=
 de le renvoyer =E0 l'exp=E9diteur dont l'adresse e-mail figure ci-dessus=
 et de d=E9truire le message ainsi que toute pi=E8ce 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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic