8 Replies Latest reply: Dec 11, 2012 6:44 AM by Nik RSS

    help with bash

    978885
      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
          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
            Ubuntu/Edubuntu version 7.04
            • 3. Re: help with bash
              Kashif M
              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
                ucenik35:ucenik35:100:101:group100:/home/ucenik35/bin/rbash
                • 5. Re: help with bash
                  Helios-GunesEROL
                  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
                    Catch~22
                    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
                      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
                        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.