This works in both cases, thanks a lot

    Regards
    Jose

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.
      


  

Reply via email to