Bug 73266 - Root access from "exit" command
Summary: Root access from "exit" command
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bash   
(Show other bugs)
Version: 7.3
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: Ben Levenson
Keywords: Security
Depends On:
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:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-09-02 02:00:36 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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:

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 

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