Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
Re: [suse-security] rbash not working!!
From: Michel Messerschmidt (listsmichel-messerschmidt.de)
Date: Tue Sep 27 2005 - 01:03:13 CDT
Ciro Iriarte said:
> And everything seems to be in order, after login, if i do an "echo $0"
> i get "-rbash", but it's not working as it should....
To see whether the current shell is restricted, you should execute
"shopt -p restricted_shell". The output should look like this:
rbash-2.05$ shopt -p restricted_shell
shopt -s restricted_shell
Rbash is basically a bash started by a special name ("rbash")
or the -r parameter. On some systems rbash is a link to bash while
others maintain a separate copy of the binary.
One potential source of problems is that the shell restrictions are
enabled *after* the startup files were processed. And even in restricted
mode, any allowed shell script is executed without restrictions.
Maybe one your your startfiles opens up another interactive shell?
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-helpsuse.com
Security-related bug reports go to securitysuse.de, not here