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: Marian Hettwer (MHkernel32.de)
Date: Wed May 10 2006 - 09:17:11 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

Giancarlo Razzolini wrote:
> Paul de Weerd wrote:
>
>
>>Don't change root's shell.
>>
>>
>>It's set to a static shell (/bin/ksh these days) for a reason.
>>
>>
>
> 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.

> static. I use the bash-static from packages, and hadn't any problems. I
> think that booting in single and cleaning some trash, might solve the
> problem. Also you might want to consider installing the bash-static.
You might consider leaving root untouched...

regards,
Marian
iD8DBQFEYfXlgAq87Uq5FMsRAsqkAKDHnGW/2u+zvW/jRpqk1XSaHeNH0wCghnnv
R1FTuxp8v+eiICa6TA8zTAo=
=x40p
-----END PGP SIGNATURE-----