Disable telnet for root on AIX
From MyWiki
(Difference between revisions)
Admin (Talk | contribs)
(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…')
Newer edit →
(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…')
Newer edit →
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.