Bug 73266 - Root access from "exit" command
Summary: Root access from "exit" command
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bash
Version: 7.3
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-02 02:00 UTC by adam bowns
Modified: 2007-03-27 03:56 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-09-02 02:00:36 UTC
Embargoed:


Attachments (Terms of Use)

Description adam bowns 2002-09-02 02:00:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020901

Description of problem:
from the shell of an unprivilaged user, If I su to root then su back to any
unprivilaged user then type exit i am given root access.

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


How reproducible:
Always

Steps to Reproduce:
1.login into x as unprivilaged user
2.open the terminal emulation program by clicking the icon
3.su to root
4.enter the root password when prompted
5.su back to unprivilaged user
6.type "exit" (no quote marks)
	

Actual Results:  I have become the root user

Expected Results:  The terminal emulation program should have closed down.

Additional info:

Comment 1 Bernhard Rosenkraenzer 2002-09-02 15:04:53 UTC
This is the intended behavior. 
Don't su back to the original user, use "exit" to get back to a shell without 
privileges. 



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