How To Enable or Disable Root Account

Ubuntu Root Account Settings

Change Ubuntu Root Settings

Hello everyone, how are you all doing today? I hope you are all having a great week so far. The weekend is just around the corner and I can’t wait! I feel like I need yet another vacation, anyone else feeling the same? This planet Earth will literally work you to death, I am right? Lol anyway, please read on…

Today we will teach you how to easily disable a root account and how to activate the root account if necessary. This is a guide that I believe any and all users of Linux should know. They might come a time when you must act fast and quickly disable root permissions in Ubuntu/Linux Mint/Linux. This tutorial will show you how to do this, the easy way, let us begin.

Easily Disable/Enable Root Account In Ubuntu

passwd --help | grep lock
  -l, --lock                    lock the password of the named account
  -u, --unlock                  unlock the password of the named account

Enable root account by giving it a password, type:

sudo passwd

When you enter this command you will be asked for new password. The password you enter will be the password for root account so be careful and choose a strong password.

Disable the root login, simply type:

sudo passwd -l root

This will disable the login using root user name i.e your system will be back to previous state.

Quick Links: Backup Files On Ubuntu | Download Warsow Game | How To Update Ubuntu | How To Fix The “Aw, Snap!” Error Message | How To Take A Screenshot On A Mac Computer | Download Ubuntu Server Guide | Disable Data Logging In Windows 10 | Best BitTorrent Clients For Ubuntu | Best Video Editing Software On Ubuntu | Top 5 Microsoft Office Alternatives On Ubuntu | Download Free Ubuntu Books | Cute Girl Wallpapers For Ubuntu | Black Wallpapers For Ubuntu

Today’s Popular Linux Article: How To Optimize Apache