On Tue, 14 Oct 2003 08:25:33 -0700, Christian Schäfer muttered:
> hi Andrew,
> > You do know about "ssh -t host command"?
> 
> no, I don't think so. tell me. ;-)

Try 'ssh -t host /bin/sh'. It'll give you a login shell (with /bin/sh) even
if your $SHELL is set to something like /bin/false.

In short, there's really no way (that I know of, at least) to keep a user
from getting a login shell as long as they have an account.

-- 
Andrew Farmer
[EMAIL PROTECTED]

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to