Changeset 246 for nutchez-0.2


Ignore:
Timestamp:
Jul 2, 2010, 6:11:55 PM (14 years ago)
Author:
shunfa
Message:

將網頁管理預設密碼寫入至passwd, 並更改讀取權限

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/shell/install

    r245 r246  
    7878    # 系統路徑鍊結
    7979    ln -sf /home/nutchuser/nutchez/system/nutchez /usr/local/bin/nutchez
    80     # 將nutchuser密碼寫入隱藏檔, 供網頁預設登入密碼使用
    81     echo $Nutchuser_Passwd > /home/nutchuser/nutchez/system/.passwd
    82 
     80    # 將網頁管理預設密碼寫入隱藏檔, 供網頁預設登入密碼使用
     81    su nutchuser -c "echo "nutchuser" > /home/nutchuser/nutchez/system/.passwd"
     82    chmod 600 /home/nutchuser/nutchez/system/.passwd
    8383    make_client_install
    8484    # 啟動系統
Note: See TracChangeset for help on using the changeset viewer.