In /etc/bashrc umask is set to 077.
if [ $UID -gt 99 ] && [ "`id -gn`" = "`id -un`" ]; then
#umask 002
umask 077
else
#umask 022
umask 077
fi
[root@<hostname> ~]# umask
0077
[root@<hostname> ~]#
When I use system-config-users a new users home directory has permissions of 700.
When I use useradd a new users home directory has permissions of 755.
useradd -d <home directory path> -g users <username>
or
useradd <username> -d <home directory path> -m -g users
I need to run a script to add multiple users at a time so system-config-users is not practical.
Any ideas???
Thanks in advance!!!
EDIT
Switched from Redhat 7.2 to Fedora Core 4 - the Redhat server did the premissions 700 either GUI or useradd