OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: RE: How to login to a machine with invalid shell in /etc/passwd?
From: Craig Anderson (craigpacoffee.com)
Date: Tue Jan 02 2001 - 18:06:53 CST


On Tue, 2 Jan 2001, Jason Coene wrote:

> Hmmn,
>
> I am by no means a solaris guru -- havent touched it for more than 10
> minutes. But maybe you could:
>
> su root -c "/path/to/bash"
>
> thus eliminating the request to use the default shell. i dont know if it
> will work or not, but off the top of my head it seems like its worth the
> reply :)

<--( SNIP )-->

Helu,

  No.. unfortunately this will exit since it checks for a valid shell
before invoking "/path/to/bash".

  Heh.. I am still on the OpenBSD mailing list right?

o_0

-- Craig