restricted telnet sessions

On AIX 4.3.3 , how telnet access will be allowed to few users only whereas other will not be able to telnet the server?

Passwords control telnet access.

IP filter rules (in firewalls, etc.) control IP address and port access to services.

Thanx for reply

But I want to restrict the telnet session at system level (ie. At AIX level).
Instead of filtering the IP address for particular users , is it possible that any user can telnet the server but any time maximum of 2 telnet sessions will be open.

Hi amit,

Have you tried running the telnet daemon from xinetd?
xinetd allows very fine control of services, you can control: max instances, instances per ip/user, time at which access is allowed (for all users).
info on xinetd:http://www.synack.net/xinetd/faq.html

If your system and the telnet daemon is pam enabled you could set access controls in either the time.conf or limits.conf files.usually located in /etc/security.

info on pam time.conf can be found at the pam admin website:
http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam.html

Hope this helps.

Andy H :slight_smile:

Great reply Andy. We miss you when you are not posting and helping folks out with your knowledge and wisdom.

Hi Neo,

Don't worry, I haven't lost interest in the forum, it's just I've been unemployed for a while and haven't felt like contributing.

Things are starting to look up for me, should be starting fulltime work next week.

Andy :slight_smile:

Hi Andy,

Thanx for reply

I will tell u the output after testing on Monday

Amit