Unable to login once installed in GCP

SYSTEM INFORMATION
OS type and version GCP - Ubuntu
Webmin version Latest as of 6 Nov 2024 (can’t find it in index screen)
  1. I followed the instructurtion Downloading and Installing | Webmin
  2. finished this command “apt-get install webmin --install-recommends”
  3. login screen (as below)

There isn’t a place for me to setup my root/first login user. What’s the next step?
Sorry newbie here. Thanks for the support

resolved via CGPT :slight_smile:

this is the missing command

sudo /usr/share/webmin/changepass.pl /etc/webmin root your-password

Use this instead: webmin passwd root

1 Like

Don’t do either! (And don’t listen to ChatGPT without verifying, it’s an idiot.)

Set a system root password using the passwd command or login with a user that has sudo ALL privileges. (The latter may be preferable.)

Using the Webmin changepass command is creating a new user just in Webmin, that is separate from the system user. This often confuses people months or years later when they forget they bifurcated their user into two independent creatures. It works, but there’s no reason to have a separate Webmin user database.

2 Likes

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.