# yppasswd user
New Password:
Re-enter new Password:
Permission denied
You might also find something like this in the debug log: Jul 23 08:45:06 nismaster yppasswdd[162]: [ID 467562 auth.error] yppasswdd: user someuser: does not existSolution
You match the following conditions:

darren2000 發表在 痞客邦 留言(0) 人氣()


Solaris 10內建就有ipf的防火牆,啟動步驟如下
vi /etc/ipf/pfil.ap
留下你自己的網卡#le -1 0 pfil
#qe -1 0 pfil
hme -1 0 pfil  <---例
#qfe -1 0 pfil
#eri -1 0 pfil

darren2000 發表在 痞客邦 留言(0) 人氣()

1.server端
#cp /etc/nsswhich.nis /etc/nsswhich.conf
#vi /etc/nsswhich.conf將hosts這段加入dns,查詢domain name時會去跟dns要資料
hosts:      nis [NOTFOUND=return] files dns

darren2000 發表在 痞客邦 留言(0) 人氣()


solaris手動修改網路設定很麻煩,需要到處找設定修改
不如...
使用sys-unconfig指令
會有互動式詢問設定,就像當初安裝的互動設定一樣!

darren2000 發表在 痞客邦 留言(0) 人氣()

單靠在設定檔加入tcp_wrappers=YES是不行低~
必須在source code的builddefs.h
把#undef VSF_BUILD_TCPWRAPPERS
改成#define VSF_BUILD_TCPWRAPPERS
來試試看囉
-------------------------------------
第一次compile錯誤,原來...
還要另外裝tcp_wrapper才給compile
hosts.allow的target要設vsftpd

darren2000 發表在 痞客邦 留言(0) 人氣()

用sconadm這個指令
   帳號還是要到www.sun.com 上註冊,在照下面做 ,man page有寫~
    
    Example 1: Registering a New System

darren2000 發表在 痞客邦 留言(0) 人氣()

syslog不熟,反而syslog-ng比較熟
在solaris以syslog-ng取代syslog

1.關掉syslog
2.安裝syslog-ng

darren2000 發表在 痞客邦 留言(0) 人氣()

加上-n選項    
-n    Avoid calling sync(2) and do not  log  the  reboot  to
           syslogd(1M)  or  to  /var/adm/wtmpx.  The kernel still
           attempts to sync filesystems prior to  reboot,  except
           if  the  -d option is also present. If -d is used with
           -n, the kernel does not attempt to sync filesystems.

darren2000 發表在 痞客邦 留言(0) 人氣()


1. 看CPU
 #psrinfo -v  
 #psrinfo | grep on-line | wc -l 
 # /usr/platform/`uname -i`/sbin/prtdiag -v 
 # /usr/platform/`uname -m`/sbin/prtdiag -v  

darren2000 發表在 痞客邦 留言(0) 人氣()

 寫的很詳細,有了基礎認識
http://isv.sun.com.cn/techdocs/20060714ten_reasones_to_use_zfs.html

darren2000 發表在 痞客邦 留言(0) 人氣()

solaris上也可跟bsd一樣新增swap空間,作法如下

看目前使用中的swap的空間
#swap -l
看swap空間使用狀況

darren2000 發表在 痞客邦 留言(0) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。