WebminWithoutARootAccount

Differences between revisions 1 and 2
Revision 1 as of 2005-07-22 08:06:47
Size: 1002
Editor: 193
Comment:
Revision 2 as of 2005-12-30 23:44:50
Size: 1043
Editor: S010600131016cf6f
Comment: 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:

  1. 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.
  2. 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.
  3. 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.

CategoryDocumentation CategoryCleanup

WebminWithoutARootAccount (last edited 2008-08-06 16:37:17 by localhost)