Bug 106493 - Create symlink from /bin/bash to /bin/rbash
Summary: Create symlink from /bin/bash to /bin/rbash
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: bash (Show other bugs)
(Show other bugs)
Version: 1.0
Hardware: All Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
Keywords: FutureFeature
: 111870 217975 251685 (view as bug list)
Depends On:
Blocks: FC4Target
TreeView+ depends on / blocked
Reported: 2003-10-07 19:47 UTC by Blair Zajac
Modified: 2007-08-10 13:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-15 15:32:39 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 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

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

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

How reproducible:

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. ***

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