I've tried changing a user's shell to /bin/false and connected with 
ssh [EMAIL PROTECTED] /bin/bash, but I didn't get a shell... ?!

On Tue, 11 Nov 2003, Marshal Newrock wrote:

> ssh [EMAIL PROTECTED] /bin/bash
> 
> I would tar up and remove (or simply rename) the homedir so the keys are
> no longer accessible, in addition to usermod -L.
> 
> On Tue, 11 Nov 2003, mathieu wrote:
> 
> > Maybe changing her shell to /bin/false ?
> >
> > > I'm not 100% up to speed on how key auth works, been a while since I
> > > played with it...can't you just remove / rename the key files from their
> > > home dir?
> > >
> > > Kev
> > >
> > > Jose Gonzalez Gomez wrote:
> > > >    This works in the case the user uses password authentication, but
> > > > what about public key authentication? I've tried and in this case the
> > > > user can still login after disabling it with usermod -L.
> 
> -- 
> CAUTION: Product will be hot after heating
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 

--
[EMAIL PROTECTED] mailing list

Reply via email to