Hey Guys:

It's very possible that I'm misunderstanding something here, but I have
a question. In the Bash Shell Startup Files section, where we use the
umask script, there is this note:

Setting the umask value is important for security. Here the default
group write permissions are turned off for system users and when the
user name and group name *are not* the same.

However, if I'm reading the script correctly, this actually happens when
the user and group name *are* the same and it's an id above 99:

if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then
  umask 002

Also, just to report, (perhaps this is something new with Bash 3.1),
useradd -D on my system here also shows this line not mentioned in BLFS:

CREATE_MAIL_SPOOL=no

--
JH
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to