Custom messages for failed ROOT logins on RedHat

From: netnerd (nkav@tpg.com.au)
Date: 09/18/01


Message-Id: <5.1.0.14.2.20010919011110.02407ec0@144.135.24.13>
Date: Wed, 19 Sep 2001 01:18:03 +1000
To: focus-linux@securityfocus.com
From: netnerd <nkav@tpg.com.au>
Subject: Custom messages for failed ROOT logins on RedHat

Hi, just curious if its possible to get PAM or TCP Wrappers... or anything
else for that matter, to give me a custom error message, like:
  "go away & stop trying to login as root"
When idiots try telnetting into my box. I know its possible to use TWIST
with tcpd, but i dont want it to be host based! I just want it to happen
when someone from any address tries to login as root.
Is it possible to get PAM to return custom error messages??
Any help/suggestions/flames appreciated

netnerd



Relevant Pages

  • Confusion on SSH and PAM
    ... The idea being that I use Public Key authentication. ... Yes to PAM authentication etc. ... As long as I login as root with a key, ...
    (freebsd-questions)
  • Re: SSH pubkey or password based on user group
    ... >> What I was trying to do is not to allow users that are in root ... >> key while every other user can choose whether they will login using ... >> pam but I couldn't find any module that will have my job done. ... AN> than ssh. ...
    (comp.security.ssh)
  • Re: Cant use GUI as root
    ... > Hi Toshiro ... the same happens with the graphical login manager. ... > then you should be able to login as root, ... On systems that support PAM, ...
    (Debian-User)
  • Re: Cant use GUI as root
    ... the same happens with the graphical login manager. ... then you should be able to login as root, ... On systems that support PAM, ... probably leave it true for PAM systems. ...
    (Debian-User)
  • SUMARY: Cant login as root
    ... As a result, i was not able to log in as root, neither create a new ... Asunto: RE: Can't login as root ... > console. ... > If we log as any other user everythig is ok, but we cannot either do su-. ...
    (Tru64-UNIX-Managers)