Description of problem: The restricted bash shell ("rbash") can only be invoke by "bash -r", since the "rbash" symlink is missing. Steps to Reproduce: 1. yum install bash # if not already installed 2. run "rbash" Actual results: No such file, since it wasn't provided. Expected results: restricted bash shell should work via symlink (by inspecting argv[0] from the symlink, as is done for egrep and other utils) 1) /bin/rbash symlinked to /bin/bash 2) /bin/rbash added to /etc/shells Additional info: manually creating the symlink works: [root@nano tmp]# rpm -q bash bash-3.1-16.1 [root@nano tmp]# rpm -ql bash | grep rbash /usr/share/doc/bash-3.1/rbash.0 /usr/share/doc/bash-3.1/rbash.ps [root@nano tmp]# whereis rbash rbash: [root@nano tmp]# whereis egrep egrep: /bin/egrep /usr/share/man/man1/egrep.1.gz [root@nano tmp]# ln -s /bin/bash /bin/rbash [root@nano tmp]# rbash [root@nano tmp]# cd / rbash: cd: restricted
*** This bug has been marked as a duplicate of 106493 ***