Disable Root Remote Access on 10.20 (236 Views)
Reply
Occasional Visitor
Jason Fink_1
Posts: 3
Registered: ‎10-19-1999
Message 1 of 5 (236 Views)

Disable Root Remote Access on 10.20

Just switched from 9.07 to 10.20 on a post production server and I cannot get
the thing to disable remote root access. I already installed a self referencing
.rhosts in root's home (which is not / BTW) and /etc/hosts.equiv (with the - in
front of the hostname to show no root rlogin) - which worked on 9. Already
pored over docs and a variety of UN*X books - none of their mthods work
(possibly outdated).
Occasional Visitor
Kirk Gardner_1
Posts: 3
Registered: ‎06-10-1999
Message 2 of 5 (236 Views)

Re: Disable Root Remote Access on 10.20

Check out /var/adm/inetd.sec and the corresponding man page: man 4 inetd.sec
Occasional Visitor
Susan Verhey_1
Posts: 1
Registered: ‎10-19-1999
Message 3 of 5 (236 Views)

Re: Disable Root Remote Access on 10.20

Have you tried the file /etc/securetty ? You can read the man page on login for
more information. Basically,
root is allowed to log in only from the ttys listed in the file.
Occasional Advisor
Tim Webster_1
Posts: 5
Registered: ‎10-18-1999
Message 4 of 5 (236 Views)

Re: Disable Root Remote Access on 10.20

Hi Jason,

Susan is correct. The /etc/securetty file is the way
to control where root can log in from. If you wish to disable root directly
logging in from anywhere but the console, just put an entry for "console" in
the /etc/securetty file. You'll want to set the file to owner root and group
bin and set it to 600 for permissions.

- Tim
Advisor
Jesper Sivertsen_2
Posts: 12
Registered: ‎10-25-1999
Message 5 of 5 (236 Views)

Re: Disable Root Remote Access on 10.20

Just remove .rhosts from roots home directory. hosts.equiv works for all users
but root.

Best regards
Jesper Sivertseb
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.