Bug 129045 - su hangs when su'ing as normal user to root
Summary: su hangs when su'ing as normal user to root
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-03 14:52 UTC by Kaare Teilum
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-06 13:59:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Output from 'strace -fp' (220.61 KB, text/plain)
2004-08-06 11:52 UTC, Kaare Teilum
no flags Details

Description Kaare Teilum 2004-08-03 14:52:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

Description of problem:
When I issue 'su' and the root password nothing happens.
If I issue 'su' and a wrong root password I get 'su: password incorrect'
If I issue 'su -' and the root password I login as root.

This problem has been observed on two machines both running NIS
support. The problem occurs for both NIS and local users.

On a stand-alone machine without NIS support there is no problem with su

The problem was not present in the previous FC1 installation

Version-Release number of selected component (if applicable):
5.2.1

How reproducible:
Always

Steps to Reproduce:
1.Install FC2 choose NIS support during installation
2.Issue 'su' in a terminal when logged in as a normal user
3.
    

Actual Results:  After issuing the root password nothing happens

Expected Results:  I should have been loggin in as root

Additional info:

Comment 1 Tim Waugh 2004-08-05 16:26:22 UTC
Does this happen if you log in as root and attempt 'su'?  If so,
please attach the 'log' output of 'strace su 2>log'.

Comment 2 Kaare Teilum 2004-08-06 10:54:58 UTC
There are no problems with 'su' when I am logged in as root.

Comment 3 Tim Waugh 2004-08-06 10:56:41 UTC
Then please run 'strace -fp PID' as root, where PID is the bash
session of the user about to run su.  Thanks.

Comment 4 Kaare Teilum 2004-08-06 11:52:47 UTC
Created attachment 102478 [details]
Output from 'strace -fp'

Comment 5 Kaare Teilum 2004-08-06 12:03:30 UTC
In the last line of the log there appears to be an attempt to access
"/ra1/linux/nmrpipe/nmrbin.linux/bash". This is an network drive to
which root on my machine do not have read-privileges.
If I log in as root and attempt to 'cd /ra1' the shell hangs.

Comment 6 Tim Waugh 2004-08-06 13:59:41 UTC
This is from a PATH traversal.  Don't put directories in PATH that
cannot be searched.


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