關於 PHP, Linux, Open Source 及個人生活記載的網誌。
RSS icon
  • FreeBSD 複製系統帳號

    Posted on January 20th, 2007 Sam Tang No comments

    假設要將 A 主機的帳號及密碼複製到 B 主機,可以這樣做:

    1. 先將 B 主機的 /etc/master.passwd 及 /etc/group 備份。

    2. 將 A 主機的 /etc/master.passwd 及 /etc/group 複製到 B 主機。

    3. 用 root 執行指令: pwd_mkdb -p -d /etc /etc/master.passwd


    Leave a reply

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word