Linux下錯(cuò)誤問題解決方法 |
| 發(fā)布時(shí)間: 2012/7/5 8:57:27 |
|
1.question: #pdbedit -a mis1 new password: retype new passwd: Unable to modify passwd TDB! Error:Record exists occured while storing the main record (USER_mis1) Unable to add user!(does it already exist?) 描述:在添加用戶到samba數(shù)據(jù)庫的時(shí)候,出現(xiàn)上述錯(cuò)誤,解決方法? answer: 這是因?yàn)閙is1用戶的密碼已經(jīng)存在于samba的用戶數(shù)據(jù)庫已經(jīng)存在,一直以為我只要?jiǎng)h除此用戶(userdel mis1;rm -rf /var/spool/mail/mis1)就可以刪除mis1在電腦上的一切相關(guān)的數(shù)據(jù),但是實(shí)際上samba數(shù)據(jù)庫內(nèi)還是繼續(xù)保存此用戶的密碼。 #smbpasswd mis1 //修改samba 用戶的密碼可用此來操作。 本文出自:億恩科技【m.jfb888.cn】 服務(wù)器租用/服務(wù)器托管中國五強(qiáng)!虛擬主機(jī)域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM] |
京公網(wǎng)安備41019702002023號