Patch: bash-2.05b not running RESTRICTED if invoked as /usr/bin/rbash
From:
Matthias Eckermann
Subject:
Patch: bash-2.05b not running RESTRICTED if invoked as /usr/bin/rbash
Date:
Fri, 24 Jan 2003 17:59:09 +0100
User-agent:
Mutt/1.5.3i
Hello,
working in a customer project I found, that bash-2.05b is not running as
restricted shell, if invoked as /usr/bin/rbash, /bin/rbash, ... I found the
"-" of the login shell being the culprit. Attached is a small patch, that
reenables rbash as a restricted shell, if invoked as login shell.
best regards
Matthias Eckermann (MgE)
--
Voluminous documentation | Matthias Eckermann mge@suse.de
is part of the problem | SuSE Linux AG phone +49-30-430944-786
not part of the solution | Berliner Straße 27 mobile +49-179-2949448
| D-13507 Berlin fax +49-30-43732804