[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to login to a machine with invalid shell in /etc/passwd?





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