12/26/2554

ลืมรหัสผ่านของ Webmin "How do I change my Webmin password if I can't login?"

 
กลับจากเที่ยวในวันหยุด อยู่ดีๆ ก็ลืมรหัสผ่านเข้า Webmin ซะงั้น ทำไงดีหว่า..........หาอยู่ตั้งนาน งั้น ตั้งใหม่ดีกว่าครับ
มันมีไฟล์สคริปต์ สำหรับ admin ที่ลืมรหัสผ่านตัวเอง ไว้เปลี่ยนอยู่ที่ไฟล์ changepass.pl จะอยู่ใน 
/usr/share/webmin
หรือ
/usr/libexec/webmin
หรือ
/etc/webmin
เมื่อเจอแล้ว ทำการสั่งโดยใช้
changepass.pl ตำแหน่งที่เก็บคอนฟิกของ webmin ชื่อผู้ใช้งาน รหัสผ่านใหม่
แค่นี้เองครับ


Included with the Webmin distribution is a program called changepass.pl to solve erecisely this problem. Assuming you have installed Webmin in /usr/libexec/webmin, you could change the password of the admin user to foo by running
/usr/libexec/webmin/changepass.pl /etc/webmin admin foo

ไม่มีความคิดเห็น:

แสดงความคิดเห็น

ท่านสามารถแสดงข้อคิดเห็นที่เหมือน หรือ แตกต่างได้ครับ ขอความกรุณาใช้ถ้อยคำที่สุภาพด้วยครับ ขอบคุณครับ