您的位置:首页 > 其它

Enable rcp/rlogin on solaris with LDom configured

2009-11-16 17:46 791 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐