[精讚] [會員登入]
1055

【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

你可能感興趣的文章

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

【Maven】如何創建一個簡單可執行的JAR檔 滿重要的一個小功能,畢竟有時候是要傳遞的是JAR檔,而不是直接透過Maven直接部屬之類的

【PaperMC - API】如何發送指令到伺服器內 How to sending or executing commands to server

【C++】使用struct array和一維int array模擬二維int array 主要是因為用sort去排序int array的二維陣列小編懶得研究,於是就研究了一種維持一維陣列但是有二維陣列效果的程式,小編就廢~~

【C++】如何解決TLE,換句話說便是加速cin, cout的執行速度 [ZERO JUDGE](UVa) a159: 11743 - Credit Check 題目練習和副程式練習

【無料版模】﹝CSS&HTML﹞製作epub電子書版模免費下載&附使用教學 一個專門用來製作epub的簡單CSS檔案,基本上已經可以做出一本還不錯的電子書,讓妳的電子書不在只有預設的字體、樣式

我有話要說

>>

限制:留言最高字數1000字。 限制:未登入訪客,每則留言間隔需超過10分鐘,每日最多5則留言。

訪客留言

[無留言]

隨機好文

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

高捷少女:美麗島的守護者③ 小雅閉上眼睛,思索在高捷發生的點點滴滴。她心意已決,在高捷的日子的確也有快樂的部分,不過她相信換個方向是更好的決定。有關高捷的所有美好回憶,小雅決定保留在心裡就好,繼續在高捷工作只會讓自己更痛苦而已,

高捷少女:耐耐的新年驚喜④ 「雖然夫人一直有在保養身體,可是年紀畢竟不小了,醫生曾經說過,不管是不是假性陣痛,一旦夫人有感覺了便立刻送到醫院。」管家爺爺說:「我們已經打電話給附近的大型醫院,救護車很快便會來到這裡。」「去看伯母吧

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

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