AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  How to implement login banner?

    Posted 02/17/10 05:04 AM

    Originally posted by: Mohammed_Qasim


    Hi All,

    Please help me in accomplish the following:

    Implement Login Banner which should be displayed to the user before he/she logs into the system using telnet or ssh sessions.

    Thanks in Advance
    #AIX-Forum


  • 2.  Re: How to implement login banner?

    Posted 02/17/10 05:58 AM

    Originally posted by: Wakkman


    Hi,

    You can change the default logon banner by editing the /etc/motd file. This will have effect on all users.

    You can also use the herald vaiable in /etc/security/login.cfg.
    #AIX-Forum


  • 3.  Re: How to implement login banner?

    Posted 02/17/10 06:11 AM

    Originally posted by: Mohammed_Qasim


    Thanks for your quick reply.
    #AIX-Forum


  • 4.  Re: How to implement login banner?

    Posted 02/23/10 05:36 PM

    Originally posted by: SystemAdmin


    If you use /etc/motd to display a legal message/warning, then my advice is to make it only 75 characters wide. This will allow you to use the same banner for both telnet and FTP. The FTP warning can be set in the /etc/ftpaccess.ctl file (see the ftpd man page). The banner in /etc/security/login.cfg displays before the telnet login prompt; the motd after you have logged in.

    You may also wish to add a Banner clause to your /etc/ssh/sshd_config, if you use either ssh or sftp.
    #AIX-Forum