[精讚] [會員登入]
1320

【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

你可能感興趣的文章

【Python3】[Django] (Windows / Liunx) 如何從零開始創建一個網站 除了最基本的運作以外,還小小的加上了如何自導向特定目錄。

【C++】SFML安裝於Microsoft Visual Studio 2019 此方法僅適用單個C++專案,因為一次就適用整台電腦的方式有人寫了,而且寫得非常不錯。

【Nexus Repository Manager】(deploy)使他人可以對遠端資料庫做讀寫 使用 Nexus Repository Manager 來讓各個工程師控制自己的 Jar 包,不會有 Github Merge Crashed 問題。

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

【Wickct】(link) <a> 如何新增超連結 簡單來說有兩種方式,小編個人比較偏好 的方法

【NodeMCU / ESP8266】[Arduino]測量溫溼度並上傳至ThinkSpeak 使用簡單的溫度計來測量溫濕度並上傳至第三方網站,這樣他人只要有瀏覽器就能看到我們的數據了

隨機好文

【歌評】蓮台野夜行 - 幻視之夜 ~ Ghostly Eyes 若有什麼是在聽到boss曲前的鋪襯,那一定就是每個系列的道中曲

【日翻中歌詞】ピースサイン(Peace Sign) 那一天從我們的頭頂 輕掠而過的那架飛機 有點不可思議 還記得 為何呢?毫無意義 

【歌評】蓮台野夜行 -古の冥界寺 古老的冥界寺 冥界?那是什麼地方?該不會是像地獄那樣的地方吧?!

【數學】徐氏數學簡明講義(三) 第二章 直線與園 P2.1-15 Q12 12.已知聯立方程式恰有一解(x,y) = (1,2),   則的解為(x,y) = ? 解:

【感想】蓮台野夜行 - 東方妖妖夢 東方妖々夢 ~Ancient Temple 再撰 一首歌聽一遍跟聽100遍是一樣的,但是,今天聽跟明天再聽感覺絕對會不一樣。