I need a maintenance user which only requires a remote login. I'll preferably use only public keys to login into the account.
I thought of just creating the user with useradd myuser, adding later the required public keys to its authorized_hosts file.
useradd disables the password by default. Do I still require to run a passwd -l myuser to lock it?
Any drawbacks here?