Hi guys, Want to restrict telnet & rlogin from all m/cs, for all users except one m/c with two users. As I told you I restricted a telnet & rlogin session for all users from all m/cs. But I want to allow only two users to access this m/c from a particular m/c. Here is the o/p of hosts.allow & hosts.deny Hosts.allow
ALL: user1,[EMAIL PROTECTED] :ALLOW ALL: LOCAL localhost :ALLOW Hosts.deny ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY #ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY ALL: [EMAIL PROTECTED] : DENY My requirement is only user1 & user2 has to access this m/c from atlas(m/c name), please tell me where I am doing wrong things... Thanks & Regards, santosh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of santosh kumar Sent: Friday, June 20, 2003 2:48 PM To: [EMAIL PROTECTED] Subject: RE: restrict telnet session Thanks guys I did it by editing /etc/hosts.deny In.telnetd : [EMAIL PROTECTED] : all Thanks for response... Regards, santosh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schwendt Sent: Friday, June 20, 2003 2:01 PM To: [EMAIL PROTECTED] Subject: Re: restrict telnet session -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 20 Jun 2003 11:51:44 +0530, santosh kumar wrote: > I have small and interesting question. I want to give telent access for > only 2 users, is it possible??? The system is configured with redhat 8.0 Read up on client username lookup in "man hosts.allow" and decide yourself whether you like it. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+8sZg0iMVcrivHFQRAsJfAJ9D7Kxft71lWua8qWyVlc8ZbA8s9gCfbfmL Jwz8euRJzSc1p9AcftHIb60= =TtNt -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list