[精讚] [會員登入]
1181

【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

你可能感興趣的文章

【JDA/discord bot】刪除事件或slash(斜槓)指令的reply訊息 如何正確的等待 Async 的結束,在進行接下來的刪除訊息動作

【Stable Diffusion web UI】[AI 作畫](Linux)無 NVIDIA 顯卡之伺服器運行測試 凡事就是要試試看,才知道最後的結果

【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

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

【MySQL Workbench】如何透過TCP/IP進行SSL連線到遠端MySQL資料庫 通常MySQL伺服器都不是只提供某人連線,而是多人都可以連線進來使用,這時就不能繼續使用localhost的那種寫法

【D語言】D language 安裝及使用 一種比較少見的程式語言

隨機好文

高捷少女:地下城的探險少女① 婕兒心中一奇,便走上前看著仔細。那塊凹進去的地方中心大約三公分厚,越往邊緣就越淺,圓型直徑十五公分。婕兒拿出銅盤對比一下,發現兩者大小竟然一致,銅盤似乎能夠完整的嵌進去。     婕兒看著凹槽,心中

高捷少女:購票大作戰② 一個不好的預感浮現,艾米莉亞開始檢查屋子四處。窗戶跟陽台都有關好,也沒有被打開的跡象。但一股無形的壓力,開始在寂靜的公寓中蔓延,她不安地嚥一下喉嚨。最後,她走向那扇窗戶,那前天晚上,白龍為了逃脫,而撞

高捷少女:購票大作戰③  歐巴桑露出懷疑的表情。「怎麼了,您跟夏尼爾小姐不是朋友嗎?只要打電話確認就好了,不是嗎?」「是……是這樣沒錯……可是……」小穹支支吾吾地說。我的確是潔西塔的朋友,但

高捷少女:美麗島的守護者① 婕兒跟耐耐嚇得臉色發白。「耐耐,小穹有這方面的愛好喔?」婕兒小聲地說。耐耐默默的拿出筆記本,臉上浮現一層微笑:「這麼大的新聞,要趕快記下來!」

高捷少女:美麗島的守護者⑥ 一陣貓叫傳到小雅耳中,原本要朝小雅撲過去的北風轉了個圈,從半空中落地,牠的表情宛如五雷轟頂。這聲音……難道是……