mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
1.9 KiB
1.9 KiB
OpenMediaVault
NAS solution based on Debian Linux.
Table of contents
- TL;DR
- Make other users administrators
- Remove access for the default admin user
- Further readings
- 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:
- Lock the account:
chage -E0 'admin' - Remove it from the
openmediavault-admingroup:gpasswd -d 'admin' 'openmediavault-admin' deluser 'admin' 'openmediavault-admin' - Delete it completely:
userdel -r 'admin' deluser 'admin'
Further readings
Sources
All the references in the further readings section, plus the following: