1
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

updated at

VBoxLinuxAdditions.run を実行して This program must be run with administrator privileges. になった時の対応方法

MacのVirtualBoxに作った仮想マシンへGuest Additionsをインストールする をしていた時のしくじりです。

環境

  • ホストOS : macOS Sierra Virsion 10.12.5
  • VirtualBox : Version 5.1.22 r115126 (Qt5.6.2)
    • ゲストOS : CentOS Linux 7.3.1611(Core)
    • 接続 : ブリッジ接続
    • Yum version : 3.4.3

事象 : VBoxLinuxAdditions.run を実行したらThis program must be run with administrator privileges.と言われた

$ sh /mnt/cdrom/VBoxLinuxAdditions.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.22 Guest Additions for Linux...........
This program must be run with administrator privileges.  Aborting

原因 : sudo を使っていないから

対応 : sudo を使う:flushed::flushed::flushed:

$ sudo sh /mnt/cdrom/VBoxLinuxAdditions.run
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
1
Help us understand the problem. What are the problem?