OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: /var filled up and can't login locally or remotely

From: Hannah Schroeter (hannahschlund.de)
Date: Wed May 10 2006 - 09:25:07 CDT


Hi!

On Wed, May 10, 2006 at 04:17:11PM +0200, Marian Hettwer wrote:
>[...]

>> Changing the root shell doesn't hurt. But you have to install your shell
>There is absolutely no reason to change root's shell.
>There is even no reason at all to work as root.
>Use sudo, or even su -m, or execute bash after you became root.
>Even if you use the bash-static package, bash gets installed into
>/usr/local/bin (IIRC) and you may not have /usr while being in single
>user mode.

The latter should not really be a problem. init prompts for the shell
to execute anyway if you boot into single user, so you can say /bin/ksh
then even if root's shell were changed.

However that point of mine isn't meant to imply that it were a good idea
or "necessary" to change root's shell.

sudo works just fine.

>[...]

Kind regards,

Hannah.