[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SUMMARY: Disable Remote Logins on DEC Alpha OSF1



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@xxxxxxxxx> 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@xxxxxxxxx