Bug 26349 - /etc/profile.d/lang.sh now causes permission denied error when using su
Summary: /etc/profile.d/lang.sh now causes permission denied error when using su
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.1
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-06 19:25 UTC by David Sainty
Modified: 2014-03-17 02:18 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2001-02-06 19:25:38 UTC


Attachments (Terms of Use)

Description David Sainty 2001-02-06 19:25:34 UTC
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
like:

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.

Reproducible: Always
Steps to Reproduce:
1.Install Fisher
2."useradd username && passwd username"
3."su 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.

Comment 1 Bill Nottingham 2001-02-06 21:34:39 UTC
Will be fixed in 5.62-1.


Note You need to log in before you can comment on or make changes to this bug.