# Enabling the account
$ sudo passwd -u root
# Disabling the account
$ sudo passwd -l root
However, I quickly ran into an issue where the root's cron jobs would not run because the account was locked. After some fiddling, I fixed the problem by first re-enabling the root account:
$ sudo passwd -u root
and then, disabling the account properly:
$ sudo passwd -d root
After this, all works as it should.
No comments:
Post a Comment