2011年7月18日 星期一

ubuntu11 的samba 設定

 剛建好ubuntu 如何建好samba
 1.卓老師的伺服器快樂架 ==> 先把資料設定 正確填好 在來按NetWorkManager設定網路介面
    選取要使用的網路連線 (還是選固定虛擬ip 192.168.1.12)
參考資料 http://myip.tw/itsmw/index.php/

大量建帳號 (參考資料 http://myip.tw/itsmw/index.php/)
       下載yhtools 按照說明即可 
       每次批次增減帳號samba時 最好是 /etc/init.d/smbd stop
                        增減完後 在 /etc/init.d/smbd start
  • 供 maccount.sh 使用的帳號密碼表「passwd.txt」,務必要先使用 dos2unix 指定轉換成 unix/linux 斷行符號的格式後,再繼續操作。
    root@dns:~# dos2unix passwd.txt
    root@dns:~# ./maccount.sh add passwd.txt (以大量新增帳號為例) 
  • reference from ==> http://myip.tw/itsmw/index.php/YHTools

沒有留言:

張貼留言