For one of my local users, "ram", the umask
is 0002
. Another user, "yas" has the umask
value 0022
instead.
Shouldn't all users have gotten the same umask
setting on their creation?
For one of my local users, "ram", the umask
is 0002
. Another user, "yas" has the umask
value 0022
instead.
Shouldn't all users have gotten the same umask
setting on their creation?
grep umask /etc/pam.d/newusers /etc/default/useradd /etc/login.defs /etc/useradd.conf ~ram/.bashrc ~yas/.bashrc
.grep
can handle multiple files. – waltinator Sep 11 '17 at 22:06grep -i umask /etc/pam.d/newuser
s,grep -i umask /etc/default/useradd
,grep UMASK /etc/login.defs
and finallygrep -i umask /etc/adduser.conf
and post the outputs into your question – George Udosen Sep 11 '17 at 22:27