Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to enable remote login with 'root'

90 views
Skip to first unread message

dungdang

unread,
Apr 22, 2008, 5:53:42 AM4/22/08
to
Any idea how to reenable remote login with 'root' on HP-UX. I have
applied this :
//---------
vi /etc/securetty
(* and add in *)
console
--------//
to restrict login with 'root' on console only. Ho to reenable to
remote access?

regrads,
dungdang

Bill Marcum

unread,
Apr 22, 2008, 9:15:52 AM4/22/08
to
It's best if you use su or sudo rather than allowing remote login as
root. However, if you are on a LAN with no connection to the internet,
you could:
remove all non-commented lines from /etc/securetty, or
add all /dev/pt* or whatever devices are used as the controlling tty
when you login remotely, or
modify the sshd configuration to allow root login, preferably using keys
and not passwords.
0 new messages