Files
oam/knowledge base/openmediavault.md
2023-09-14 00:24:11 +02:00

1.9 KiB

OpenMediaVault

NAS solution based on Debian Linux.

Table of contents

  1. TL;DR
  2. Make other users administrators
  3. Remove access for the default admin user
  4. Further readings
  5. Sources

TL;DR

# Install OMV-Extras.
wget -O - 'https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install' | bash

Make other users administrators

Just add the user to the openmediavault-admin group:

gpasswd -a 'me' 'openmediavault-admin'
usermod -aG 'openmediavault-admin' 'me'

Remove access for the default admin user

Only do this after you created another user and made it an admin.

From the safest to the less safe option:

  1. Lock the account:
    chage -E0 'admin'
    
  2. Remove it from the openmediavault-admin group:
    gpasswd -d 'admin' 'openmediavault-admin'
    deluser 'admin' 'openmediavault-admin'
    
  3. Delete it completely:
    userdel -r 'admin'
    deluser 'admin'
    

Further readings

Sources

All the references in the further readings section, plus the following: