SUMMARY : restricted login

From: William Geldhof (william.geldhof@nss.be)
Date: Mon Aug 26 2002 - 04:23:54 EDT


Thanks to both
Kacem
John Elser

John : You should be able to put code in the /etc/profile file that simply
checks to see if someone is on your network. You can do a "who am i" and
get their IP address and restrict outside users access to your system.

Kacem : try a tcpwrapper and edit
 /etc/hosts.deny and /etc/hosts.allow to allow and deny services like
telenet rsh ..
in your sshd_config you can allow login for External users with
AllowUsers or AllowGroups options
For logout you can use a cronjob to change the sshd_config file and send
a HUP signal to sshd and
to logout the external users

I will go for Kacem : People who are having the same issue to deal with try
http://www.geocities.com/danilody/standard/ssh.html.

william
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:50 EDT