SUMMARY: Disable Remote Logins on DEC Alpha OSF1

From: Ash Lereth (doagie@gmail.com)
Date: Thu Jul 27 2006 - 14:34:01 EDT


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@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@gmail.com
>



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:30 EDT