SUMMARY: Disable Remote Logins on DEC Alpha OSF1

From: Ash Lereth <doagie_at_gmail.com>
Date: Thu, 27 Jul 2006 14:34:01 -0400

The original question:

Does anyone know how to disable remote *ROOT* logins on a DEC Alpha
OSF1 4.0 Machine? One thing online says to edit the system
/etc/inetd.conf and "remove or comment out the lines for remote login,
remote command execution, and file transfer daemons such as telnetd,
rlogind, remshd, rexecd, ftpd, and tftpd." I've done all of these, but
can still login as ROOT remotely. Any suggestions?

The answer:
Edit /etc/securettys, and make sure only the following lines exist,
       /dev/console
       local:0
       :0
taking care to remove the line "ptys"

For SSH,
Edit /etc/ssh/sshd_config, and set
PermitRootLogin to "No"

To stop the listed inetd services,
"kill -HUP <pid of inetd>"

Thanks everyone who contributed!


On 7/26/06, Ash Lereth <doagie_at_gmail.com> wrote:
> Hello,
>
> Does anyone know how to disable remote *ROOT* logins on a DEC Alpha
> OSF1 4.0 Machine? One thing online says to edit the system
> /etc/inetd.conf and "remove or comment out the lines for remote login,
> remote command execution, and file transfer daemons such as telnetd,
> rlogind, remshd, rexecd, ftpd, and tftpd." I've done all of these, but
> can still login as ROOT remotely. Any suggestions?
>
> Thanks!
> doagie_at_gmail.com
>
Received on Thu Jul 27 2006 - 18:35:40 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT