- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
linux安全防护十招(Linux security protection ten trick)
linux安全防护十招(Linux security protection ten trick)
1. increase the boot password for LILO
Add options in the /etc/lilo.conf file so that the LILO starts asking for a password to enhance system security. Specific settings are as follows:
----boot=/dev/hda
----map=/boot/map
----install=/boot/boot.b
----time-out=60 # waiting for 1 minutes
----prompt
----default=linux
----password=PASSWORD
- # password
----image=/boot/vmlinuz-2.2.14-12
----label=linux
----initrd=/boot/initrd-2.2.14-12.img
----root=/dev/hda6
----read-only
It is important to note that passwords are stored in plain code in LILO, so you will need to
The file attribute of ----lilo.conf is set to only root that can read and write.
----# Chmod 600 /etc/lilo.conf
Of course, the following settings need to be made so that
The modification of ----lilo.conf comes into effect.
----# /sbin/lilo -v
2. sets the minimum password length and
---- the shortest time to use
Password is the primary means of authenticating users in a system. When the system is installed, the minimum password length is usually 5. But in order to ensure that passwords are not easily attacked by guessing, the minimum length of the password can be increased by at least 8. To do this, you need to modify the parameter /etc/login.defs in the file PASS_MIN_LEN. At the same time, password usage time should be limited, and password changes should be guaranteed periodically. It is recommended to modify the parameter PASS_MIN_DAYS.
3. user timeout cancelled
- - if a user forgets to write off an account when he leaves, it may cause security problems for the system. /etc/profile files can be modified to ensure that the account is automatically canceled from the system after a period of no operation.
Edit file /etc/profile, add the following line on the next line of the HISTFILESIZE= line:
----TMOUT=600
All users will automatically log off after 10 minutes without operation.
4. prohibit access to important documents
For certain key files in the system, such as
您可能关注的文档
- 5600脚本(5600 script).doc
- 5摄像教程之--参与和解脱功能(5 Video Tutorials - participation and relief).doc
- 500强的强者思维(500 strong thinking).doc
- 5月-3e薪资设计与薪酬管理技巧(-3e salary design and salary management skills in May).doc
- 61-惠州市小金河(一河两渠)整治工程(二期)(61- Huizhou small Jinhe River (one river, two canals) Regulation Project (two issue)).doc
- 62-天长市平安南路(天康大道(Tianchang Ping An Nan Lu 62- (Kang Road).doc
- 68-三人行网络班级创建操作手册(68- three people online class creation manual).doc
- 6个小故事揭示美国人的赚钱之道(6 little stories tell Americans how to make money).doc
- 6室内绿化植物选择(6 selection of indoor plants).doc
- 680例子宫输卵管造影术的护理体会(Nursing experience of 680 cases of uterine tubal radiography).doc
- linux sh脚本编程(Linux sh脚本编程).doc
- linux项目实战(Linux project actual combat).doc
- linux系统如何修改端口号(How does the Linux system modify port numbers).doc
- lis(LIS).doc
- live800系统faq(Live800 system FAQ).doc
- loadrunner脚本录制常见问题整理(LoadRunner script recording FAQ).doc
- loopback接口简介(Introduction of loopback interface).doc
- linux文件转换以及展示(Linux file conversion and display).doc
- lotus note id 剖析(lotus notes 剖析 id).doc
- lsat题型与gmat逻辑的异同(Similarities and differences between LSAT questions and GMAT logic).doc
最近下载
- 怎样选购冰箱.doc VIP
- 2025年新生儿窒息复苏考试试题(附答案).docx VIP
- 系统性红斑狼疮护理查房.ppt VIP
- 魏晋玄学课件.ppt VIP
- 2020安徽芜湖一中高一自主招生考试语文试卷真题(含答案详解).pdf VIP
- 小学科学苏教版四年级上册第三单元《常见的力》教案(共4课)(2020新版).pdf
- 2024年包头市九原区社区工作者招聘真题 .pdf VIP
- 2021年安徽芜湖一中高一自主招生考试语文试卷真题(含答案详解).pdf VIP
- 二年级数学上册 作业本提优-第三单元提优测试卷 (含答案)(苏教版).docx VIP
- 工作票签发人负责人许可人上岗资格考试题B卷答案.docx VIP
文档评论(0)