نحن على دراية بمشكلة محتملة تؤثر على الخدمة. تعرف على المزيد
Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

Switch to SSH طباعة

  • 1

Dear Customer,

Kindly Flow up steps below to Switch to Root Mood!

If you haven’t configured the root account and don’t want to, you can use the sudo command to switch to the root user temporarily. Open a terminal window and type:

sudo su

When prompted, enter your account password (the password you normally use with sudo). The password input won’t be displayed on the terminal. After successful authentication, you’ll be logged in as the root user. You can verify this by running the whoami command, which should show “root” as the user1.
Configuring the root account: By default, Ubuntu doesn’t allow direct configuration of the root account during installation. However, if you want to configure the root account, follow these steps:
Set the root password using:

sudo passwd root

After setting the password, switch to the root account using:

su

Enter the new root password when prompted.
Remember that using sudo is generally recommended over directly logging into the root account for security reasons. It allows you to execute specific commands with root privileges without permanently enabling the root account2. If you encounter any issues, feel free to ask for further assistance!

Best Regards,


هل كانت المقالة مفيدة ؟

« السابق

Powered by WHMCompleteSolution