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

17Oct/16Off

Our cluster daily job throughput

After merged a few pools into a single cluster, daily job number throughput, average is around 150K.

image

Filed under: eda, IT Comments Off
17Oct/16Off

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 access.so in /etc/pam.d/system-auth

access.so

 

 

 

 

 

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 192.168.10.0/24

+ : root : ALL
+: jackie:192.168.10.0/24
+:mike:localhost
+:mike:localhost.localdomain
+ : nx : ALL
- : ALL : ALL

 

Filed under: IT Comments Off