Bug 98314 - "up2date -u --nox &" is a very bad karma thing to do, when non-su.
Summary: "up2date -u --nox &" is a very bad karma thing to do, when non-su.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: usermode
Version: 9
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-06-30 22:56 UTC by Anders
Modified: 2007-04-18 16:55 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-07-04 04:00:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Anders 2003-06-30 22:56:15 UTC
Description of problem:
up2date -u --nox &
when run by non-su asks for su password and echoes plaintext to terminal + plus
it fails to authenticate (actually tries to excecute the password as a command)
and then the up2date process dies in the background.

Version-Release number of selected component (if applicable):
up2date-3.1.23-1

How reproducible:
100% on this system and others down to RH7.2 that I have tested.

Steps to Reproduce:
1. As non-su, in X (KDE), in xterm or similar.
2. $ up2date -u --nox &
3. Bingo
    
Actual results:
Apart from the echoing, it tries to execute the password as a shell command"

Expected results:
Smooth updating with no echo to terminal.

Comment 1 Adrian Likins 2003-07-03 18:33:07 UTC
This looks to be a bug with the usermode package (which contains the
parts that actually prompt for the passwords and whatnot)
I can duplicate similar behaviour with other utilities. 

Reassigning there.

Comment 2 Nalin Dahyabhai 2003-07-04 04:00:32 UTC
Backgrounded applications aren't allowed to read input from the terminal, so
when the backgrounded instance of userhelper attempts to read the password, it
is suspended.  This is normal.  You'll need to foreground the process
temporarily to give it the password, after which you can suspend and background
it by typing ^Z and then using the "bg" command.  Closing as NOTABUG.


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