Bug 251685

Summary: [RFE] Add a /bin/rbash symlink pointing to bash
Product: [Fedora] Fedora Reporter: Dams <anvil>
Component: bashAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-10 13:33:31 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:

Description Dams 2007-08-10 12:32:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.5) Gecko/20070718 Galeon/2.0.3 Firefox/2.0.0.5

Description of problem:
In the man bash, there is the description of a feature of bash being called as rbash (r as in restricted). See the RESTRICTED SHELL chapter in man bash for details.

The bash package should provide this symbolic link and add an entry for it in the /etc/shells file.

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


How reproducible:
Always


Steps to Reproduce:
Nothing to reproduce.

Actual Results:


Expected Results:


Additional info:

Comment 1 Tim Waugh 2007-08-10 13:33:31 UTC
Providing a symbolic link adds no security at all.  rbash is meant to be used in
chroot-type environments where /bin/sh is not in the PATH -- otherwise, just run
'sh' and you are unrestricted.

*** This bug has been marked as a duplicate of 106493 ***