Hello,
I have a XDM listening to network connections running on Slackware 12. My question is, how can I disable remote login for certain user only, but preserve local login's? I've tried with login.access:

+:(user):localhost
-:(user):ALL

But it's not working. Also with something like:

case `tty` in
/dev/tty[0-9])
bla bla ;;
*) logut ;;
esac

But it's not working either.
Some ideas?