[精讚] [會員登入]
1300

【Linux】[CentOS 8] How to update sudo instruction

The last time I wanted to update the sudo command should be 2017, right? It's 2021 in a blink of an

分享此文連結 //n.sfs.tw/14931

分享連結 【Linux】[CentOS 8] How to update sudo instruction@小編過路君子
(文章歡迎轉載,務必尊重版權註明連結來源)
2021-01-31 11:56:49 最後編修
2021-01-31 11:55:25 By 過路君子
 

Hello everyone, here is the Editor.Passing Gentleman who finally found the installation method

It's clearly written in the unzipped folder INSTALL.configure In the file

 

In fact, the install file also describes how to install it, but Editor failed to follow the steps of that file, so I'll use the INSTALL.configure Based on the installation steps described.

 

Step 1: check whether the current sudo version is the latest version

sudo -V

※ It must be root to execute

Click on each image below to enlarge it

 

Step 2: download the latest sudo from the SUDO website

The SUDO official website is here, and the latest sudo download site is here, and the Editor here takes the installation of Sudo Version 1.9.5p2 as an example.

 

Step 3: decompress sudo-1.9.5p2.tar.gz

tar -zxvf sudo-1.9.5p2.tar.gz

 

Step 4: enter the folder and configure it

cd sudo-1.9.5p2/ && ./configure

 

Step 5: compile & install

make
make check
make install

After inputting the above three instructions in sequence, the installation is completed.

You can input "sudo -V" again to confirm whether there is a new version of sudo.

 

 

 

Postscript

Uncontrolled intersections, please slow down.

END

你可能感興趣的文章

【C++】class練習 — 檢測該字串是否為迴圈 第一次的C++結構式寫法,雖然以後應該會見怪不怪,但畢竟是第一次所以還是想保存下來

【Wildfly/jBoss】[Linux](Connection Datasource)如何與MySQL資料庫建立連線 網頁瀏覽器和資料庫的關係密不可分,而通常會將兩者分開架設在不同的伺服器上面來提供服務,這時要如何進行連線呢?

【Python3】11 - 字典(Dictionary)的使用範例 python3的幾個字典使用範例,改寫自他人perl的範例

【Minecraft】[CoreProtect|BungeeCord]如何重新命名世界或維度名稱 當只有一個伺服器的時候,問題往往處理起來非常簡單,但是一旦當伺服器成長至兩台以上,事情便開始有趣了起來

【Discord bot】(ERROR)await self.bot.wait_for() 大坑 今天真的是採到大坑,只找到解決方法,具體原因不明

【Socket】(Linux / Python 3)兩不同系統的主機之間如何使用Socket相互溝通 How to connect two different computer use Socket

隨機好文

【開箱】高捷少女collection總集篇1 由希萌創意寄來的大包裹!裡面究竟有什麼呢?小編就帶大家來看看!

高捷少女:小穹與果仁巧克力㊤ 阿敏突然輕笑一聲,從櫃臺拿來一個塑膠餐盒,打開給大家看。「這是小穹烤的餅乾,妳們吃吃看就知道她為什麼不想講了。」小穹變得緊張起來。「阿敏,妳怎麼還留著呀?」艾米莉亞、婕兒與耐耐各自拿了一塊,把夾著奶油

【專輯介紹】蓮台野夜行 ~ Ghostly Field Club,れんだいのやこう 就讓我們隨著音樂跟著秘封俱樂部一起探詢那不可思議的未知和神秘,若處理不好,說不定會招來奇怪的靈呦(・ω<)☆

艾米莉亞和高捷戀旅② 七點三十五分了。 「快到粉絲團!快!」小穹慌張地說,婕兒、耐耐也湊向手機。雖然她們沒有報名,不過也希望亦晨參賽,不免著急起來。 「亦晨?妳的報名序號是多少?」艾米快速滑動手機。合格的參賽者姓名和序號都

【數學】徐氏數學簡明講義(三) 第二章 直線與園 P2.1-15 Q6 6.平面上有一四邊形ABCD其頂點分別為(0,0)、(2,1)、(3,4)、(-1,5),此平面上另有P,Q兩點,求 :