huang zuxing blog @ home the quieter you become, the more you are able to hear.


disable ssh/scp , configure freenx login only

Friend asked how to disable users ssh or scp to the machine which has freenx installed .   only allow users nxclient login.

1. enable in /etc/pam.d/system-auth






2. configure /etc/security/access.conf ( please read this file,  follow the format)

below is a simple one, only allow user mike nxclient login; and allow user jackie ssh from

+ : root : ALL
+: jackie:
+ : nx : ALL
- : ALL : ALL


Related Post

Filed under: IT Comments Off
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.