WebminWithoutARootAccount

Differences between revisions 4 and 5
Revision 4 as of 2006-04-14 23:23:05
Size: 1273
Editor: 193
Comment:
Revision 5 as of 2006-06-19 16:06:52
Size: 69
Editor: 127
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Introduction =
  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 this, you need to manually change root password.

== Steps ==
  After you perform {{{apt-get install webmin}}}, you have to do the following:
[[BR]]
  get your encrypted password from /etc/shadow.
attachment:IconsPage/IconExample48.png
  ''For example, the following command will output the password to the screen:''
  {{{
  sudo grep your_username /etc/shadow |cut -f2 -d:
  }}}
[[BR]]
  next we edit this file:
  {{{
  gksudo gedit /etc/webmin/miniserv.users
  }}}
{i} ''you will need superuser rights to save it''

  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.
[[BR]]
  restart webmin with this command:
  {{{
  sudo /etc/init.d/webmin restart
  }}}

  After that, you can go to https://localhost:10000/ in your web browser and login using {{{root}}} as the username and the password of your non-root user.

CategoryDocumentation CategoryCleanup
#REFRESH 0 http://help.ubuntu.com/community/WebminWithoutARootAccount

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