Red Hat Bugzilla – Bug 73266
Root access from "exit" command
Last modified: 2007-03-26 23:56:41 EDT
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):
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.
This is the intended behavior.
Don't su back to the original user, use "exit" to get back to a shell without