On 2022-02-01 20:01, Nate Bargmann wrote:
I must be the odd one out as I interpreted the OP as having set a root password but now wanting to remove it so as to have just the main user set to do root's work and that root can no longer log in directly. I hope the OP can clarify!
I guess that would be: sudo passwd -d to delete the password or: sudo passwd -l to lock the paassword (this can be undone later with sudo passwd -u) Bijan