SUMMARY : restricted login

From: William Geldhof <william.geldhof_at_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
Received on Mon Aug 26 04:28:59 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:53 EST