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 be8080
. - Add a new entry to the
miniserv.conf
configuration file for thelisten
port and set the value to8080
. - Cycle the
webmin
service to pick up the configuration changes.
- Edit the
- 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 )
andMilton Waddams (maddams)
, setting the passwords toDevSupport123
.
- 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.