Disable telnet for root on AIX
From MyWiki
(Difference between revisions)
(Created page with 'I wanted to disable telnet for root only. What I ended up doing is creating a file called <tt>/dev/ssh</tt>. Then, I restricted the tty list for root to <tt>/dev/console</tt> an…') |
m (Protected "Disable telnet for root on AIX" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
Current revision as of 22:14, 3 November 2009
I wanted to disable telnet for root only.
What I ended up doing is creating a file called /dev/ssh. Then, I restricted the tty list for root to /dev/console and /dev/ssh. SSH treats the login tty as /dev/ssh, so this will allow remote SSH logins while at the same time stopping telnet.