WebminWithoutARootAccount
⇤ ← Revision 1 as of 2005-07-22 08:06:47
1002
Comment:
|
1043
add cats
|
Deletions are marked like this. | Additions are marked like this. |
Line 16: | Line 16: |
CategoryDocumentation CategoryCleanup |
If you install Webmin, and have still have Ubuntu root password disabled, the initial installation of Webmin won't work, as it creates the disabled root login too.
To fix that, you need to manually change root password. After you perform apt-get install webmin, you have to do the following:
get your encrypted password from /etc/shadow. For example, the following command:
sudo grep your_username /etc/shadow |cut -f2 -d:
will output the password to the screen.edit /etc/webmin/miniserv.users (you will need superuser rights to save it), and replace the asterisk in the first line with the password you aquired from /etc/shadow, so that the line looks something like this:
root:$1$e/9mjoasd$asdasljjwynSD42
Save the file and exit the editor after that.restart webmin:
sudo /etc/init.d/webmin restart
After that, you can go to https://localhost:10000/ and login using root as the username and the password of your non-root user.
WebminWithoutARootAccount (last edited 2008-08-06 16:37:17 by localhost)