Disable telnet for root on AIX

From MyWiki

Revision as of 22:14, 3 November 2009 by Admin (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.