8.7. Module Access Control

Surprisingly, it is possible to limit the access that a Webmin user has to certain disks in the Partitions on Local Disks module. This could be useful if your system has a removable drive (like a Zip or Jaz drive) that you want users to be allowed to partition with Webmin, while preventing them from reformatting the primary hard disk.

Once a user has been granted access to the module, the process to restrict the disks that he can access includes the following steps:

1.
In the Webmin Users module, click on Partitions on Local Disks next to his username. This will bring up the module access control form.

2.
Change the Disks this user can partition and format field to Selected, and choose the disks that the user should be allowed to partition and create filesystems on from the list below.

3.
To stop the user seeing disks on the main page that he cannot manage, change the Can view non-editable disks? option to No.

4.
Finally, click the Save button to activate the access control restrictions.

Just being able to partition and format a disk is not particularly useful, unless it can be mounted as well. The Disk and Network Filesystems module has no support for access control restrictions, because giving a user the rights to mount a filesystem would open up several security holes. A better solution is to set up an automounter filesystem so that removable devices can be mounted by just entering a special mount-point directory.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.58.143