Re: Login restrictions in NIS environment

From: Cecilio Marín (cmarin_at_essiprojects.com)
Date: 06/08/05

  • Next message: Richard Hobbs: "RE: Login restrictions in NIS environment"
    Date: Wed, 08 Jun 2005 17:27:52 +0200
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    My apologies, documentation says it works, but on my probes, don't
    detect ruser.

    On /etc/hosts.deny, this works:
    sshd: ALL@<HOST>

    but this not works:
    sshd: <ruser>@<HOST>

    I probe on RHEL 4 AS.

    I said 'in theory'....

    Richard Hobbs escribió:

    >Hello,
    >
    >OK, I have now tried the following ideas, and none of them have worked:
    >
    >1. Add the following to /etc/hosts.deny:
    > sshd: rhobbs@ALL, PARANOID
    >
    >2. Add the following to /etc/security/access.conf:
    > -:rhobbs nbaker:ALL
    >
    >I didn't do the exact method that you suggested for "/etc/hosts.allow" and
    >"/etc/hosts.deny", because that seems to ban everything, and then let
    >certain things through. I want to let everything through, and just ban
    >certain users from sshd, so that's why I did step 1 in that way.
    >
    >As for step 2, I don't know why this didn't work... The "access.conf" file
    >already existing, so I assume it is installed and running, but perhaps it is
    >not? I'll read the documentation on this one to see if it gives any
    >pointers.
    >
    >If you have any other advice, please let me know.
    >
    >Thanks again,
    >Richard.
    >
    >
    >

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Richard Hobbs: "RE: Login restrictions in NIS environment"

    Relevant Pages

    • Re: Why tcp_wrapper blocks ssh request?
      ... suns sshd is tcpwrappers aware. ... >>It seems that the documentation hasn't caught up with this. ... > The sshd daemon uses TCP Wrappers to restrict access to ... > the built-in inetd functions. ...
      (comp.unix.solaris)
    • Re: newbie SSHD questions, suse 10.0
      ... If I uncomment that line Iget: ... definition: sshd ... Have you read the documentation on the site and what comes with the ...
      (alt.os.linux.suse)