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.
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.
相关文章推荐
- Issue 71 - pymssql - Undefined symbols on Mac, CentOS, Redhat with pre-compiled build - A fast MS SQL Server client library for Python directly using C API instead of ODBC. It is Python DB-API 2.0 compliant. Works on Linux, *BSD, Solaris, Mac OS X and Win
- Howto Enable and Use A2DP Sink on Ubuntu Linux with Bluez
- How To Enable‘root’Account Login Solaris 11 Directly
- 获取MySQL加密密码并验证用户输入(登录界面),retrieve hashpwd from mysql and compare with input password on login
- Not enough physical memory is available to power on this virtual machine with its configured setting
- Gitlab - 如何解決 "No authentication methods configured on login page" ? (gitlab version : 8.11.2)
- Enable SPI 1.0 and 1.1 with device tre overlays on BeagleBone
- Enable JMX on tomcat and debug with eclipse(linux)
- Enable ssh root login in Solaris
- Enable rsh on MAC OS with command line
- [zz]Enable Blocked Attachments on Outlook 2010 with Outlook Attachment Enabler
- A security policy configured with `AFSSLPinningModeCertificate` can only be applied on a manager wit
- 操作系统验证连接SQL Server Express发布服务报“Server Object instance on machine server is created with errors ,Bad login User”
- -[WXOGCDAsyncSocket enableBackgroundingOnSocketWithCaveat:] in libWeChatSDK.a(GCDAsyncSocket.o)
- sun cluster 3.3 +oracle 10g R2 RAC with ASM on solaris 10 U9
- SOCK_RAW Issue with setuid&chroot-ed login on Linux Servers(Still Unresolved)
- Dual port RAM with enable on each port( vhdl )
- How to Enable Accounts with userAccountControl
- [CSS] Scale on Hover with Transition
- Lycn 2013 with SQL AlwaysOn 「一」建立AlwaysOn