Re: restricted bash (rbash)
On Tue, Nov 14, 2000 at 01:30:57PM -0200, Pedro Zorzenon Neto wrote:
> Hi, all
>
> I put /bin/rbash as the default shell (in /etc/passwd) for some users that
> I just want them to use a restricted login.
>
> When the user logs in, rbash is being executed and the restricted login is
> working well. But, if the user executes 'bash', everything becames unrestricted.
>
> How can I deny the execution of shells inside rbash?
>
> Thanks
> Pedro
My first thought would be to remove the executable flag for other users,
make a special group for bash, and add anyone that should have access to
bash in that group.
haven't tried it, so... take it with a grain of salt.
Reply to: