The m/c which is configured with hosts.deny & hosts.allow is redhat 8.0 and the m/c from which only two users suppose to access is solaris 8.0 .....
Regards, santosh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schwendt Sent: Friday, June 20, 2003 6:32 PM To: [EMAIL PROTECTED] Subject: Re: restrict telnet session -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 20 Jun 2003 16:44:55 +0530, santosh kumar wrote: > 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... That's all? There's more to do. Apart from that, "user1,[EMAIL PROTECTED]" is not valid hosts.allow syntax. Your answer surprises me because you didn't mention identd at all. Did you read the manual section I pointed you to? What kind of machine is "atlas"? Does it have an RFC 931 protocol compliant daemon running? If so, how is it configured? Btw, please reply below quotes and trim your quotes. > 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+8wXL0iMVcrivHFQRAnijAJwOi0ZGpUBzhMWv/QTeMXwiXIMLIwCfXmyQ SSHhfRwqVm2rNL4skOLoRW8= =hLoP -----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