
#Replace gid linux password#
Sudo will prompt you for your password, and then ask you to supply a new password for root as shown below: password for username: (enter your own password)Įnter new UNIX password: (enter a new password for root) If for some reason you wish to enable the root account, simply give it a password: sudo passwd This simple yet effective methodology provides accountability for all user actions, and gives the administrator granular control over which actions a user can perform with said privileges.

Sudo allows an authorized user to temporarily elevate their privileges using their own password instead of having to know the password belonging to the root account. Instead, users are encouraged to make use of a tool by the name of ‘sudo’ to carry out system administrative duties. It merely has been given a password hash which matches no possible value, therefore may not log in directly by itself. This does not mean that the root account has been deleted or that it may not be accessed. Ubuntu developers made a conscientious decision to disable the administrative root account by default in all Ubuntu installations. Therefore, it is important that you understand how you can protect your server through simple and effective user account management techniques. Ineffective user and privilege management often lead many systems into being compromised. User management is a critical part of maintaining a secure system.

Multi-node configuration with Docker-Composeĭistributed Replicated Block Device (DRBD)
