Linux實踐工程師學習筆記十六

來源:互聯網
上載者:User

Proftpd

#tar jxvf proftpd-1.2.9.tar.gz2

#cd proftpd-1.2.9

#./configure                  產生與系統有關的設定檔

#make                   編譯把來源程式編譯成二進位檔案

#make install

#/usr/local/sbin/proftpd

設定檔:/etc/local/etc/proftpd.conf

 

vi提示:

yy    複製當前行

p     粘貼

/      尋找

n     尋找下一個

尋找與尋找下一個配合使用

shift+D   在當前行刪除游標後的所有字元

 

#netstat -tnlp          顯示進程及ID

 

為Grub設定密碼,防止使用者修改或編緝Grub的引導菜單

#grub-md5-crypt           產生一個md5加密的字串

#grub-md5-crypt >> /etc/grub.conf

#vi /etc/grub.conf

password --md5 $1#123abckdfj343k

這樣在啟動時,要編緝引導菜單必須輸入密碼,在引導菜單最後加上 s ,可進入單一使用者模式。

 

find / -perm -002    尋找檔案許可權中其他人具有寫入權限的檔案,0表示使用者,組不管

find / -perm +6000 尋找檔案,不管使用者,組其他,只要許可權中含有6(讀寫)即滿足要求。

-            表示許可權位必須具有的

+     表示許可權位可能有或無

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.