So, this is the first time I'm installing OpenMediaVault, and the first thing I looked for a way to do was to change the admin username. I came across this post that made me realize that the admin account was just another linux username... so I went about it the following way:
- Opened up a console session (root) and executed the following:
usermod -l NewAdminUserNameWithMixedCase admin - Went ahead and edited the OMV config file:
nano /etc/default/openmediavault - Changed the OMV_WEBGUI_ADMINUSER_NAME entry to:
OMV_WEBGUI_ADMINUSER_NAME=NewAdminUserNameWithMixedCase
P.S. Why MixedCaseUserName? Cause I felt like it, and Linux generally uses lowercase usernames anyway, so why not push the envelope if it works? Just adds yet another layer of difficulty. Of course, I'm not sure if the mixed-case username will work on OMV package update, but you can always revisit step 1 substituting admin for whatever the username ends up being. And to know what that username ended up being, you can always use the following command:
grep -i --color 'openmediavault-admin' /etc/group