Operating System - HP-UX
1835246 Members
2493 Online
110078 Solutions
New Discussion

Disable remote access for root user

 
SOLVED
Go to solution
A.K.
Frequent Advisor

Disable remote access for root user

Hi guys,
On HPUX 11.00 & 11i how do I disable remote(rlogin, remsh, ssh etc...) access for root user.
Also, how do I enable access for root user only at the physical console.

Thanks.
A.K.
2 REPLIES 2
spex
Honored Contributor
Solution

Re: Disable remote access for root user

Hi A.K.,

# echo "console" > /etc/securetty
# chmod 600 /etc/securetty

PCS
Inter_1
Frequent Advisor

Re: Disable remote access for root user

yes you can just comment the console line in /etc/login

I like to fix things.