Do you have to create a user with that email in order to do that?Datacenter > Notifications. Might have to scroll down.
mail-to-root
target, and for legacy notifications, the email address of the root@pam
account is used as target, so you can edit that user (Datacenter -> Users) to set a new fallback.Last time I did that it disabled the user and I was locked out!By default, i.e. through themail-to-root
target, and for legacy notifications, the email address of theroot@pam
account is used as target, so you can edit that user (Datacenter -> Users) to set a new fallback.
Ya, I would not mess with any of that. Just add the addresses you need.Last time I did that it disabled the user and I was locked out!
If I change the email address will it lock the root user out again? If so, how do I reenable it?Last time I did that it disabled the user and I was locked out!
Then you toggled the enable checkbox before confirming the edit. As just changing the email address definitively does not lock you out, as that address is not used at all from our permission system...Last time I did that it disabled the user and I was locked out!
In general, it's recommended to have another way to access your servers, that can be SSH, an IPMI/iKVM remote console or just physical access.If I change the email address will it lock the root user out again? If so, how do I reenable it?
pveum user modify root@pam --enable 1
In general, it's recommended to have another way to access your servers, that can be SSH, an IPMI/iKVM remote console or just physical access.
I did. I had only locked myself out of the Web interface by disabling root login. Not root in Linux.For SSH, I would even strongly suggest extra user:
https://forum.proxmox.com/threads/b...ode-permitrootlogin-prohibit-password.154806/