İçeriğe geç
KAMPANYA

Logo Tasarım + Web Tasarım + 1 Yıl Domain + E-posta + Hosting — $299 +KDV

AIOR

This command has to be run with superuser privileges (under root user on most systems).

Sektör topluluğu — sorularınız, deneyimleriniz ve duyurularınız için.

This command has to be run with superuser privileges (under root user on most systems).

Aior

Administrator
Staff member
Joined
Apr 2, 2023
Messages
175
Reaction score
2
Points
18
Age
40
Location
Turkey
Website
aior.com
1/3
Thread owner
When you connect your server via ssh or admin client you may get the failure message as below:

[almalinux@sunucu ~] $ yum update -y Error: This command has to be run with superuser privilages [under root user on most systems).

1691057902524.png

The error you're receiving is because you're trying to run a command that requires administrative (or "root") privileges. The yum update -y command, which updates all the software packages on your system, requires these privileges.

To run this command, you'll need to use the sudo command, which allows you to run commands as the root user:

Code:
sudo yum update -y

1691057934302.png

After entering this command, you'll be prompted to enter your password. This is the password for your user account, not the root password. If you're not set up to use sudo, you may need to switch to the root user with the su command:

Code:
su -

Then you can run the yum update -y command. When you're done, you can exit the root user with the exit command. Be careful when using the root user, as it has the power to make critical changes to the system.

Please note, only use these commands if you're comfortable with the changes being made and understand the potential risks.
 

Attachments

  • 1691057902524.png
    1691057902524.png
    20.4 KB · Views: 34
  • 1691057934302.png
    1691057934302.png
    22.8 KB · Views: 25

Forum statistics

Threads
171
Messages
178
Members
27
Latest member
AIORAli

Members online

No members online now.

Featured content

AIOR
AIOR TEKNOLOJİ

Tüm ihtiyaçlarınız için Teklif alın

Hosting · Domain · Sunucu · Tasarım · Yazılım · Mühendislik · Sektörel Çözümler

Teklif al

7/24 Destek · Anında yanıt

Back
Top