restricted shell




Dear all,

this is what i have read in the book ubuntu linux unleashed,

if you have a desire to severly restrict what a user can do, you can
provide him with a restricted shell. to run a restricted bash shell,
you would use the -r option

ex:- bash -r

then try to do something that you could do as a regular user, such as
ls -a,

you will then see

bash: ls: no such file or directory


now my question is suppose i have my shell restricted, how to make it
back un restricted ?
.



Relevant Pages

  • Announce: BDB-BASIC Release 0.60 Released
    ... This change does not restrict or alter your ... choose to create/execute in the interpreter. ... INPUT and OUTPUT (for CSV format I/O) ... in shell I/O redirected fashion if required. ...
    (comp.lang.basic.misc)
  • Re: Restrict to home dir
    ... I can't think of any accasion where I would allow them outside of thier own ... >>way to restrict them to thier own directory. ... > 2) The possibility priviledge elevation ... > by a knowlegable user with a shell account. ...
    (comp.security.ssh)
  • Re: restricted shell
    ... if you have a desire to severly restrict what a user can do, ... provide him with a restricted shell. ... to run a restricted bash shell, ... However, according to the man page, if you are able to run a shell script ...
    (comp.os.linux.misc)
  • Re: Restrict to home dir
    ... >way to restrict them to thier own directory. ... There are two types of problem when you give someone a shell on your ... The possibility priviledge elevation ...
    (comp.security.ssh)
  • Re: restricted shell
    ... if you have a desire to severly restrict what a user can do, ... provide him with a restricted shell. ... to run a restricted bash shell, ...
    (comp.os.linux.security)