Why does the message "bash: UMASK: command not found" occurs every time upon user login?

Solution Verified - Updated -

Issue

  • Whenever any user logs in follow messages are displayed:
[root@rhel8 ~]# su - test
bash: UMASK: command not found...
Similar command is: 'umask'
bash: 21600: command not found...

Environment

  • Red Hat Enteprise Linux 9.
  • Red Hat Enteprise Linux 8.
  • Red Hat Enteprise Linux 7.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content