[精讚] [會員登入]
1342

【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】package does not exist fix JDA 4.0 和 5.0 差別還是很大的

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

【Docker hub】[Linux]以IPv6來pull容器(container)吧! 在一個 IPv6 還不盛行的年代,做事情總是特別麻煩

【Kali Linux】[history -c]如何清除歷史記錄 非bash環境會使history部分功能變的非法

【ESXI & Oepnwrt】基本錯誤處理 Oepnwrt 為一個自由度超高的軟體,很多事情都能請其幫忙完成,但也因此很複雜,這邊簡單的介紹幾個錯誤的處理方式

【Vim】解決貼上文字時出現過多空格的問題 換了新系統,有時候就算重裝軟體並且複製了設定檔也還是會出現非常奇怪的現象

隨機好文

婕兒──她的青春④ 「投降吧,耐耐!這回合妳將不會再有獲勝的機會了!哈哈哈哈!」 「妳確定?」耐耐臉上泛起一絲微笑,並將手中的牌展示給婕兒看 婕兒的笑容僵住了。恐懼浮現在她的臉。

艾米莉亞和高捷戀旅③ 「妳最好給我一個完整的理由,告訴我妳為什麼要這麼做。」艾米雙手叉腰,看著這位冒名參賽的後輩。「我會根據妳的說詞來判定妳違反規定的懲處。」

【數學】徐氏數學簡明講義(三) 第二章 直線與園 P2.1-15 Q13 13.若阿強解方程式得;   小饅頭解方程式得,則數對(a,b) = ___ 解: 各將她們兩個求得的答案代回去 將第二

艾米莉亞和高捷戀旅⑤ 「小滷,這位先生是誰呢?」果果問道。「○○!」小滷說:「他是曾經在中國四川省的國營餐廳擔任大廚的上等大廚師,是一位精通川菜的料理達人。據說學過中國料理的人,沒有一個不知道他。」

【贈送序號】[一次性序號](先搶先贏)RO仙境傳說 因個人用不到,所以將其收集後放上來贈送給大家