On Fri, Jan 25, 2013 at 10:43 AM, Dmitri Pal <d...@redhat.com> wrote:

> AFAIK there is also some kind of "no shell" capability in SSH which might be
> useful in this case but I am not a specialist in this area.

You can do this a few ways, but the easiest (IMO) is something like
this in sshd_config:

Match User limited-user
      ForceCommand echo 'This is a non-interactive account'

This will cause that message to display if someone tries to log in
with that account.

_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to