Bug 106493

Summary: Create symlink from /bin/bash to /bin/rbash
Product: [Retired] Red Hat Raw Hide Reporter: Blair Zajac <blair>
Component: bashAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: aboyce, anvil, farrellj, p.van.egdom
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-15 15:32:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 136451    

Description Blair Zajac 2003-10-07 19:47:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 
1.1.4322; .NET CLR 1.0.3705)

Description of problem:
It would be really useful if the RPM would create a symlink
from /bin/bash to /bin/rbash, which enables the restricted bash
shell.

I'm guessing that /etc/shells should also be updated.


Version-Release number of selected component (if applicable):
bash-2.05b-20.1

How reproducible:
Always


Additional info:

Comment 1 Tim Waugh 2003-12-11 10:08:17 UTC
*** Bug 111870 has been marked as a duplicate of this bug. ***

Comment 2 Tim Waugh 2004-12-15 15:32:39 UTC
The problem is that although rbash does restrict things quite a lot, you are
still probably going to want /bin in your path -- and if it is, then you can
just run 'bash' and get out of restricted mode that way.

I think it's more useful for chroots than in the RPM we actually ship for bash.

Comment 3 Tim Waugh 2006-12-06 17:06:00 UTC
*** Bug 217975 has been marked as a duplicate of this bug. ***

Comment 4 Tim Waugh 2007-08-10 13:33:34 UTC
*** Bug 251685 has been marked as a duplicate of this bug. ***