solaris 服务配置

FTP>>
Root权限登录:/etc/ftpd/ftpuser中注释掉对应内容(root)
Solaris11中/etc/proftpd.conf RootLogin on 需要打开

SSH>>
vi /etc/ssh/sshd_config
PermitRootLogin yes

Telnet>>
/etc/default/login
#CONSOLE=/dev/console注释掉这一行

NFS
share -F nfs -o rw,anon=0 /var/TEST
mount -F nfs 10.10.10.10:/var/TEST /mnt

DNS关闭>>
root@solaris:~# netadm list
netadm: DefaultFixed NCP is enabled; automatic network management is not available.
'netadm list' is only supported when automatic network management is active.
root@solaris:~# svccfg
svc:> select switch
svc:/system/name-service/switch> listprop config
config                      application
config/default             astring     files
config/value_authorization astring     solaris.smf.value.name-service.switch
config/host                astring     "files dns"
config/printer             astring     "user files"
svc:/system/name-service/switch> setprop config/host="files"
svc:/system/name-service/switch> end
root@solaris:~# svcadm refresh switch


猜你喜欢

转载自yaoweilei.iteye.com/blog/2004842