- Get link
- X
- Other Apps
Temporary Switching to root
To temporarily elevate root user privileges, run the command prefixed with sudo
sudo command-name
sudo su -
Run the whoami command to verify that the user is changed:
whoami
output
root
Changing Root Password
sudo passwd root
output
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
- Get link
- X
- Other Apps
Comments
Post a Comment