歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> rsync錯誤:@ERROR: auth failed on module XXX 解決一例

rsync錯誤:@ERROR: auth failed on module XXX 解決一例

日期:2017/2/28 15:43:08   编辑:Linux教程

在Linux下使用rsync,將遠程目錄下的文件同步到本地目錄時,可能會出現以下錯誤:

@ERROR: auth failed on module XXX

其中,XXX 表示你的遠程rsync服務模塊名稱。

出現這種情況,先檢查你的用戶名和密碼是否正確,如果都正確,有一個可能是原因是:遠程rsync服務器的帳戶密碼文件的權限必須為600,例如,你在rsyncd.conf中設置了secrets file = /etc/rsyncd/rsync_pwd

那麼你就必須確保rsync_pwd的訪問權限為600:

chmod 600 /etc/rsyncd/rsync_pwd

然後你的問題可能就解決了。

Copyright © Linux教程網 All Rights Reserved