1. echo "+" > /.rhosts
2. modify /etc/pam.conf, uncomment the following two lines:
rlogin auth sufficient pam_rhosts_auth.so.1
rsh auth sufficient pam_rhosts_auth.so.1
3. enable svc:/network/login:rlogin service
svcadm enable svc:/network/login:rlogin
4. For solaris 9, we should set
[root/]#>grep shell /etc/inetd.conf
shell stream tcp nowait root /usr/sbin/in.rshd in.rshd
shell stream tcp6 nowait root /usr/sbin/in.rshd in.rshd
For solaris10,
svcadm enable svc:/network/shell:default
5. remove the /etc/hosts.deny file
6. comment "CONSOLE=/dev/console" from /etc/default/login.
本文介绍了如何在Solaris系统中配置远程Shell (RSH) 和rlogin服务。具体步骤包括:1. 启用信任主机连接;2. 修改PAM认证模块配置;3. 启用rlogin服务;4. 针对不同版本的Solaris调整配置;5. 禁用主机拒绝文件;6. 调整登录控制设置。

7288

被折叠的 条评论
为什么被折叠?



