Managing Webmin Administrators Using the Webmin Console

30 minutes
  • 5 Learning Objectives

About this Hands-on Lab

In this hands-on lab, we are going to grant a select set of users access to specific Webmin modules. To accomplish this, you will create a Webmin support group, configure a custom access profile, create new Webmin accounts, and assign them to the group. The last step in this lab will be to confirm the new accounts can access the Webmin console.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Update the Default Webmin Port
  • Edit the miniserv.conf configuration file to change the default port. The new port value should be 8080.
  • Add a new entry to the miniserv.confconfiguration file for the listen port and set the value to 8080.
  • Cycle the webmin service to pick up the configuration changes.
Use Webmin to Create Linux Accounts
  • Launch a web browser and connect to the Webmin console.
  • Expand the System option and select the Users and Groups section
  • Create Linux accounts for Tom Smykowski (tsmykowski ) and Milton Waddams (maddams), setting the passwords to DevSupport123.
Create a Webmin Group and Grant Access to Select Modules
  • Expand the Webmin module and select the Webmin Users section.
  • Create a new Webmin group called DevSupport.
  • Grant the DevSupport group access to the System Logs and Users and Groups modules.
Convert Linux Accounts and Add to the Webmin Group
  • Click the Convert Unix to Webmin Users button.
  • Select the Only Users radio button, then click on the user icon to the right of the text field.
  • Select the accounts for Tom and Milton.
  • Select the DevSupport group from the Assign new users drop-down menu.
  • Click the Convert now button.
Validate the New Administrative Accounts
  • Log out of the Webmin console and log back in using one of the accounts.
  • Confirm the account has the appropriate access by confirming the available modules in the console.
  • Repeat the test for the other user account.

Additional Resources

Scenario

The help desk at your company is being restructured to provide targeted internal support. One of the new areas will be developer support. A new help desk group will be responsible for managing developer servers and will require access to review system logs as well as create user accounts and groups. The help desk wants to pilot the support change process on one of the development servers before finalizing the changes. You have determined that Webmin will be the best tool to provide the access and management the new support team will need.

To assist the help desk with their pilot, you will need to complete the following tasks on the development server.

Update the default Webmin port

  • Connect to the server via SSH.
  • Edit the miniserv.conf configuration file to change the default port. The new port value should be 8080.
  • Add a new entry to the miniserv.confconfiguration file for the listen port and set the value to 8080.
  • Cycle the webmin service to pick up the configuration changes.

Use Webmin to create Linux accounts

  • Launch a web browser and connect to the Webmin console.
  • Expand the System option and select the Users and Groups section
  • Create Linux accounts for Tom Smykowski (tsmykowski ) and Milton Waddams (maddams), setting the passwords to DevSupport123.

Create a Webmin group and grant access to select modules

  • Expand the Webmin module and select the Webmin Users section.
  • Create a new Webmin group called DevSupport.
  • Grant the DevSupport group access to the System Logs and Users and Groups modules.

Create a privileged user account and add it to the new Webmin group

  • Expand the Webmin option and select the Webmin Users section.
  • Click on the Convert Unix to Webmin Users button and select the Linux accounts for Tom Smykowski and Milton Waddams, then add them them to the DevSupport Webmin group.
  • Review the accounts and confirm group access has been applied.

Validate the new administrative accounts

  • Log out of the Webmin console and log back in using one of the accounts.
  • Confirm the account has the appropriate access by confirming the available modules in the console.
  • Repeat the test for the other user account.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?