Hey,
As a rule of thumb on any server, even if it's local only, even if there's no ports opened to it... I always make myself another user and add it to the sudoers and disable root like this...
passwd -d -l root
Unfortunately if you remove the password from root, or lock root, or both (like the above command) Proxmox won't let you log in as root any more because it relies on authenticating against the Unix user.
Could someone tell me which file (I'm guessing in... /usr/share/pve-manager/root/system) would need to be altered so it verifies access to the Proxmox web interface via checking the password for a different username (and when changing the password for the 'Administrator' in the web interface - changes it for that new username).
And I know it'll mean tweaking with the source, and thus unsupportable, and any update could revert it... but I'm just interested in the idea from a theoretical point of view at the moment and would welcome any discussion about the pros/cons of it and if perhaps Proxmox needs better user account administration support (like adding users, or restricting access to particular machines per user etc).
Thanks
As a rule of thumb on any server, even if it's local only, even if there's no ports opened to it... I always make myself another user and add it to the sudoers and disable root like this...
passwd -d -l root
Unfortunately if you remove the password from root, or lock root, or both (like the above command) Proxmox won't let you log in as root any more because it relies on authenticating against the Unix user.
Could someone tell me which file (I'm guessing in... /usr/share/pve-manager/root/system) would need to be altered so it verifies access to the Proxmox web interface via checking the password for a different username (and when changing the password for the 'Administrator' in the web interface - changes it for that new username).
And I know it'll mean tweaking with the source, and thus unsupportable, and any update could revert it... but I'm just interested in the idea from a theoretical point of view at the moment and would welcome any discussion about the pros/cons of it and if perhaps Proxmox needs better user account administration support (like adding users, or restricting access to particular machines per user etc).
Thanks