rbash man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

RBASH(1)							      RBASH(1)

NAME
       rbash - restricted bash, see bash(1)

SYNOPSIS
       rbash

RESTRICTED SHELL
       If bash is started with the name rbash, or the -r option is supplied at
       invocation, the shell becomes restricted.  A restricted shell  is  used
       to  set	up an environment more controlled than the standard shell.  It
       behaves identically to bash with the exception that the	following  are
       disallowed or not performed:

       ·      changing directories with cd

       ·      setting or unsetting the values of SHELL, PATH, ENV, or BASH_ENV

       ·      specifying command names containing /

       ·      specifying  a  file  name containing a / as an argument to the .
	      builtin command

       ·      Specifying a filename containing a slash as an argument  to  the
	      -p option to the hash builtin command

       ·      importing	 function  definitions	from  the shell environment at
	      startup

       ·      parsing the value of SHELLOPTS from  the	shell  environment  at
	      startup

       ·      redirecting output using the >, >|, <>, >&, &>, and >> redirect‐
	      ion operators

       ·      using the exec builtin command to replace the shell with another
	      command

       ·      adding  or  deleting builtin commands with the -f and -d options
	      to the enable builtin command

       ·      Using the	 enable	 builtin  command  to  enable  disabled	 shell
	      builtins

       ·      specifying the -p option to the command builtin command

       ·      turning off restricted mode with set +r or set +o restricted.

       These restrictions are enforced after any startup files are read.

       When a command that is found to be a shell script is executed (see COM‐
       MAND EXECUTION under bash(1)), rbash turns off any restrictions in  the
       shell spawned to execute the script.

SEE ALSO
       Bash Reference Manual, Brian Fox and Chet Ramey
       The Gnu Readline Library, Brian Fox and Chet Ramey
       The Gnu History Library, Brian Fox and Chet Ramey
       Portable	 Operating  System  Interface (POSIX) Part 2: Shell and Utili‐
       ties, IEEE
       sh(1), ksh(1), csh(1)
       emacs(1), vi(1)
       readline(3)

FILES
       /bin/bash
	      The bash executable
       /bin/rbash
	      The rbash executable
       /etc/profile
	      The systemwide initialization file, executed for login shells
       ~/.bash_profile
	      The personal initialization file, executed for login shells
       ~/.bashrc
	      The individual per-interactive-shell startup file
       ~/.bash_logout
	      The individual login shell cleanup file, executed when  a	 login
	      shell exits
       ~/.inputrc
	      Individual readline initialization file

AUTHORS
       Brian Fox, Free Software Foundation
       bfox@gnu.org

       Chet Ramey, Case Western Reserve University
       chet.ramey@case.edu

BUG REPORTS
       If you find a bug in bash, you should report it.	 But first, you should
       make sure that it really is a bug, and that it appears  in  the	latest
       version	 of  bash.   The  latest  version  is  always  available  from
       ftp://ftp.gnu.org/pub/bash/.

       Once you have determined that a bug actually exists,  use  the  bashbug
       command	to submit a bug report.	 If you have a fix, you are encouraged
       to mail that as well!  Suggestions and `philosophical' bug reports  may
       be  mailed  to  bug-bash@gnu.org	 or  posted  to	 the  Usenet newsgroup
       gnu.bash.bug.

       ALL bug reports should include:

       The version number of bash
       The hardware and operating system
       The compiler used to compile
       A description of the bug behaviour
       A short script or `recipe' which exercises the bug

       Comments and bug reports concerning this manual page should be directed
       to chet@po.cwru.edu.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │Availability	    │ shell/bash      │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ External	      │
       └────────────────────┴─────────────────┘
NOTES
       Source for bash is available on http://opensolaris.org.

GNU Bash-4.0			2009 February 7			      RBASH(1)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net