AIX

AIX

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


#Power
#Power
 View Only
  • 1.  disabling direct root telnet

    Posted Wed August 20, 2008 03:45 AM

    Originally posted by: manu12


    Hi,

    Is it possible to disable direct telnet session, Only normal user should able to telnet?

    or if root wants it should use su

    Regards,

    Manoj
    #AIX-Forum


  • 2.  Re: disabling direct root telnet

    Posted Wed August 20, 2008 04:41 AM

    Originally posted by: new2aix


    Direct login is disabled in both /etc/security/users rlogin=no and /etc/ssh/sshd_config PermitRootLogin no

    Hope this helps
    #AIX-Forum


  • 3.  Re: disabling direct root telnet

    Posted Wed August 20, 2008 08:45 AM

    Originally posted by: manu12


    Hi,

    Thanks for your reply.

    But my requirement is other users can telnet but root user can not telnet.

    Regards,

    Manoj
    #AIX-Forum


  • 4.  Re: disabling direct root telnet

    Posted Thu August 21, 2008 04:45 AM

    Originally posted by: hdkutz


    Hello manu12,
    chuser rlogin=false root
    disables root login from remote for telnet.
    If you use openssh-Packages from Darren Tucker, the chuser command from above also disables remote root login over ssh.
    http://www.zipworld.com.au/~dtucker/openssh/

    Cheers,
    ku
    #AIX-Forum