Menu

new install: default admin username change to adm?

Webmin
2020-08-18
2020-08-20
  • mark edwards

    mark edwards - 2020-08-18

    hello -

    on previous webmin/virtualmin installations i used to be able to log in using "admin" as my username. (i forget what we did about the password).

    now it appears the only way to log in successfully is to use "root" username and the root password.

    also, when i look at the list of users, i do see "adm" - should i use that to log in? or do i need to actaully create an "admin" user? trying this, i do not see a way to grant this user webmin/virtualmin administrative privileges.

    i strongly prefer not to use "root" to log into webmin.

    thank you.

     
  • mark edwards

    mark edwards - 2020-08-18

    ok this seemed to fix it.

    i dont ever remember having to manually create an admin user. my steps:

    1) copy/paste "root" line and change to: admin:x:0 in /etc/webmin/miniserv.users
    2) copy/paste "root" line and change admin to root in /etc/webmin/webmin.acl
    3) /usr/libexec/webmin/changepass.pl /etc/webmin admin iLoveVirtualminWebmin ;
    4) systemctl restart webmin.service

    perhaps i skipped over an important question in the installation?

     

    Last edit: mark edwards 2020-08-18
  • Ilia

    Ilia - 2020-08-18

    Hi,

    You could have done all of that using Webmin/Webmin Users module. :--)

    Once you made it manually, also check for theme_username in /etc/webmin/config and preroot_username and ipkey/ipcert in /etc/webmin/miniserv.conf.

     
  • mark edwards

    mark edwards - 2020-08-18

    thanks.

    could you please include instructions on how to do this with webmin-users?

    also, am i wrong that the admin used to be created by default?

    i will probably start over since i have accidentally "discovered" an incompatibliity with Mariadb-c-connector and 10.5....

     
  • Ilia

    Ilia - 2020-08-19

    could you please include instructions on how to do this with webmin-users?

    Yes, by going to Webmin/Webmin Users page, and later clicking on the user you would want to change.

    also, am i wrong that the admin used to be created by default?

    Yes, if installed from a tarball, and running setup script manually.

    .. i have accidentally "discovered" an incompatibliity with Mariadb-c-connector and 10.5 ..

    For your information - MariDB 10.4 too is not yet fully supported.

     
  • mark edwards

    mark edwards - 2020-08-19

    same issue with 10.3 which has been out for over three years. i am wondering if this file is even maintained anymore?

    EDIT: according to this page, mariadb-c-connector is automatically included in the release? is webmin trying to install an old version or something like that?

    EDIT2: it appears the mariadb-c-connector is automatically included in the release now. (mariadb.com)

     

    Last edit: mark edwards 2020-08-19
  • mark edwards

    mark edwards - 2020-08-19

    Iila - you said:

    Yes, by going to Webmin/Webmin Users page, and later clicking on the user you would want to change.

    yet i am still not seeing the username "admin"

    in prior installations, i do not remember having to manually create one. what is the best way to create the "admin" user? i tried clicking on the "create new user" but i do not see anyplace to give the new user all the special permissions.

    please advise.

     
  • Ilia

    Ilia - 2020-08-20

    It apperars that you are mixing up system users and users creatred by Webmin in Webmin/Webmin Users module. However, the usernames can match but authentication type may be different - UNIX authentication, with a password used from /etc/shadow vs Webmin creating/storing its own password for a user in /etc/webmin/miniserv.conf file.

     

Log in to post a comment.

MongoDB Logo MongoDB