[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:

 > su root -c "/path/to/bash"
 > 
 > thus eliminating the request to use the default shell. i dont know if it

unlikely ? -c passes its arg to the _shell_, so there still has to be
a shell to interpret it, iirc. (or was that linux's su ? hell knows,
to be exact :)

-- 
[-]
``And there are plenty of other innovative pieces of software such as Napster
and ICQ.'' -- comment on ``Systems Software Research is Irrelevant'' at
http://freshmeat.net/news/2000/08/05/965534399.html