Red Hat Bugzilla – Bug 26349
/etc/profile.d/lang.sh now causes permission denied error when using su
Last modified: 2014-03-16 22:18:47 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.17-9 i686)
When you su as root, to another user, you get a permission denied error
bash: /proc/19164/fd/0: Permission denied
This is caused by the execution of /etc/profile.d/lang.sh. Subsequent
executions of bash as this user continue to give the error.
Steps to Reproduce:
2."useradd username && passwd username"
Actual Results: Although not causing grave consequences (that I know of),
you get Permission denied errors which will scare some users.
Expected Results: There should be no errors.
Will be fixed in 5.62-1.