This discussion is archived
8 Replies Latest reply: Dec 11, 2012 4:44 AM by Nik RSS

help with bash

978885 Newbie
Currently Being Moderated
how can i unrestricd CD and bash. Some one help me with this.

ucenik35@edubuntu:~$ rbash
ucenik35@edubuntu:~$ bash
rbash: bash: command not found
ucenik35@edubuntu:~$ cd
rbash: cd: restricted
ucenik35@edubuntu:~$
ucenik35@edubuntu:~$ uname -a
Linux edubuntu 2.6.20-17-generic #2 SMP Wed Aug 20 16:47:34 UTC 2008 i686 GNU/Linux
  • 1. Re: help with bash
    Kashif M Oracle ACE
    Currently Being Moderated
    how can i unrestricd CD and bash. Some one help me with this.
    what are you trying to achieve?

    Please share with us your OS name and version ?
    thanks
  • 2. Re: help with bash
    978885 Newbie
    Currently Being Moderated
    Ubuntu/Edubuntu version 7.04
  • 3. Re: help with bash
    Kashif M Oracle ACE
    Currently Being Moderated
    how can i unrestricd CD and bash.
    can you clarify this, what you are trying to achieve
    for rbash study ... refer
    http://www.cyberciti.biz/faq/restrict-linux-users-to-their-home-directories-only/
    http://www.gnu.org/software/bash/manual/html_node/The-Restricted-Shell.html
  • 4. Re: help with bash
    978885 Newbie
    Currently Being Moderated
    ucenik35:ucenik35:100:101:group100:/home/ucenik35/bin/rbash
  • 5. Re: help with bash
    Helios-GunesEROL Oracle ACE
    Currently Being Moderated
    Hi;

    1. What is your purpose to use ubuntu? Your issue seems not related with Oracle product
    2. There is seeded linux forum site, so close your issue here as answered than move your issue Oracle Discussion Forums » Linux » Generic Linux
    3. You may also rise thread at ubuntu forum site

    Regard
    Helios
  • 6. Re: help with bash
    Dude! Guru
    Currently Being Moderated
    You need to ask the system administrator to change your login shell, then log out for the change to take affect.
  • 7. Re: help with bash
    978885 Newbie
    Currently Being Moderated
    Yes i know that, that i need to ask the administrator to change the log shell, but im on school and they wont change shell, so i want to change it and make bash working and all other restricted commands like ./ ; CD ; $ and ... and i need help so i posted here for help :)
  • 8. Re: help with bash
    Nik Expert
    Currently Being Moderated
    Hi.

    rbash - special shell with restricted permissions.

    You can make it's unrestricted only in this case:
    1. Administrator make mistake and put any other shell at current seach path.
    2. You found some new bugs at rbash and make it's unrectricted.
    At any case this forbidden and can cause some problems with low.
    i need to ask the administrator to change the log shell, but im on school and they wont change shell
    You select wrong place for this questions.


    Regards.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points