修改Webmin登入密碼
使用Webmin來Config Server作一些管理,可以簡化很多時間,
但是若忘記管理者密碼那可就很麻煩了!
以下提供一個方法來reset Webmin的使用者密碼,很簡單的!
1.使用find找出Webmin安裝目錄下的密碼修改檔changepass.pl
代碼:
find / -n changepass.pl
2.切換到該檔所在目錄,執行:
代碼:
./changepass.pl /etc/webmin 欲修改的帳號 欲修改的密碼
如此修正完後,再開啟IE就可以使用新密碼登入Webmin了!
Posted: 08月 9th, 2007 under 学习资料.
Comments
Comment from explicit barrel
Time 2008年02月21日 at 12:14 上午
So we went to Atari and said, ‘Hey, we’ve got this amazing thing, even built with some of your parts, and what do you think about funding us? Or we’ ll give it to you. We just want to do it. Pay our salary, we’ll come work for you.’ And they said, ‘No.’ So then we went to Hewlett-Packard, and they said, ‘Hey, we don’t need you. You haven’t got through college yet.’ Apple Computer Inc. founder Steve Jobs on attempts to get Atari and HP interested in his and Steve Wozniak’s personal computer.
Everything that can be invented has been invented. Charles H. Duell, Commissioner, U.S. Office of Patents, 1899.
A physicist is an atom’s way of knowing about atoms — George Wald
It’s clearly a budget It’s got a lot of numbers in it — George W Bush
Comment from 学习者
Time 2007年08月27日 at 11:45 上午
heh #./changepass.pl /etc/webmin admin foo
Updated password of Webmin user admin
Hangup
重新登录还是不行呢?
这个hangup是什么意思,重启过都不可以哦
谢谢指点!