PIXNET Logo登入

四個字 堅持到底

跳到主文

部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 4月 20 週日 200820:57
  • solaris 10上patch後,NIS不能改密碼

# 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) 人氣(144)

  • 個人分類:Solaris
▲top
  • 7月 18 週三 200700:13
  • Solaris 10 使用IPF


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) 人氣(321)

  • 個人分類:Solaris
▲top
  • 7月 10 週二 200722:42
  • Solaris 10 架設NIS

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) 人氣(1,193)

  • 個人分類:Solaris
▲top
  • 6月 29 週五 200718:59
  • solaris快速更改網路設定


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

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

  • 個人分類:Solaris
▲top
  • 5月 31 週四 200702:17
  • vsftp支援tcp_wrapper

單靠在設定檔加入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) 人氣(35)

  • 個人分類:Solaris
▲top
  • 5月 01 週二 200700:02
  • solaris command line線上註冊

用sconadm這個指令
   帳號還是要到www.sun.com 上註冊,在照下面做 ,man page有寫~
    
    Example 1: Registering a New System
(繼續閱讀...)
文章標籤

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

  • 個人分類:Solaris
▲top
  • 4月 20 週五 200723:32
  • 在solaris使用syslog-ng

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

1.關掉syslog
2.安裝syslog-ng
(繼續閱讀...)
文章標籤

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

  • 個人分類:Solaris
▲top
  • 4月 14 週六 200715:58
  • reboot防止sync

加上-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) 人氣(60)

  • 個人分類:Solaris
▲top
  • 2月 10 週六 200704:01
  • solaris看硬體資訊


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) 人氣(270)

  • 個人分類:Solaris
▲top
  • 1月 27 週六 200717:15
  • [轉貼]使用ZFS的十大理由

 寫的很詳細,有了基礎認識
http://isv.sun.com.cn/techdocs/20060714ten_reasones_to_use_zfs.html
(繼續閱讀...)
文章標籤

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

  • 個人分類:Solaris
▲top
12»

自訂側欄

近期文章

  • find指令技巧
  • /etc/make.conf設定
  • IEEE_802.1q
  • zfs v.s. ufs測試
  • solaris 10上patch後,NIS不能改密碼
  • jpgraph參考網站
  • PF錯誤訊息
  • 用pf防止ssh、ftp暴力攻擊
  • postfix寄信到hotmail等等問題
  • PHP whois api

文章分類

toggle System (3)
  • Linux (5)
  • Solaris (11)
  • FreeBSD (17)
toggle 電腦 (2)
  • 小軟體 (1)
  • gallery (2)
toggle Database (1)
  • MYSQL (5)
toggle 生活 (1)
  • 無病呻吟 (2)
toggle 英文學習 (1)
  • 英文筆記 (1)
toggle Network (2)
  • Cisco (2)
  • device (2)
toggle 墮落時間 (1)
  • 小遊戲 (3)
toggle PHP (1)
  • php (2)
toggle Perl (1)
  • perl學習筆記 (6)
  • 雜七雜八 (1)
  • C/C++ (1)
  • 未分類文章 (1)

自訂側欄

參觀人氣

  • 本日人氣:
  • 累積人氣:

google adsense