当前位置:网站首页>ISO 3.0-server three power separation configuration
ISO 3.0-server three power separation configuration
2022-07-28 06:48:00 【opreator.ke】
【 background 】
Equal insurance 3.0 requirement , We need to do a good job in the separation of powers for the system . The following is the understanding of the separation of powers : To configure 、 to grant authorization 、 Audit . this 3 In terms of , Do the three power separation control of server users , For your reference .
One 【 user 】
1. System administrator
function : Operating system installation 、 To configure , Application installation, etc
2. Audit Manager
function : Log audit , Internet behavior management, etc
3. Security administrator
function : Intrusion detection 、 Anti virus 、 Situational perception 、 Vulnerability scanning, etc
Two 【 Configuration operation 】
1. System administrator :
user :user1
Unified system administrator account : user1
Configure permissions according to your application path .
for example : Apply path configuration :/opt/app/
# Add users :
useradd -d /opt/app user1
passwd user1
usermod -G user1 user1
# Put the table of contents /opt/app/ And all the documents below 、 The file owner of the subdirectory Change to user1 and user1 Group
chown -R user1:user1 /opt/app/
# Give the catalog Set the permissions
chmod 770 /opt/app/
2. Audit Manager
useradd shenji
passwd shenji
# Modifying the audit account permission only has the function of viewing
vi /etc/sudoers
shenji ALL = (root) NOPASSWD: /usr/bin/cat , /usr/bin/less , /usr/bin/more , /usr/bin/tail , /usr/bin/head
# Restrict the audit administrator to only allow access /var/log
chown -R shenji:shenji /var/log
chmod 700 /var/log
3. Security administrator
useradd -d /etc anquan
passwd anquan
# Restrict security administrators to only allow access /etc
# Appoint /etc Only audit administrators are allowed to access
chown -R anquan:anquan /etc
# Give the catalog /etc Set the permissions
#700 Indicates that you are only allowed to access , No other users are allowed to access
chmod 700 /etc
边栏推荐
猜你喜欢

Leetcode 刷题日记 剑指 Offer II 047. 二叉树剪枝

Graphic pipeline foundation (part outside)
![[untitled]](/img/54/660667e528729cc87796d972dc0b17.png)
[untitled]

Graphic pipeline foundation (II)

prometheus监控nacos

archery数据库审核平台部署

Leetcode brush question diary sword finger offer II 055. binary search tree iterator

Explain in detail

Development of clip arbitrage / brick carrying arbitrage system

yapi漏洞挂马程序chongfu.sh处理
随机推荐
redis缓存设计与性能优化
feignclient @RequestMapping参数设置及请求头简易方式设置
Water drop effect on umbrella
Battle plague Cup -- my account book
[c language] - step by step to achieve minesweeping games
redis实现分布式锁思路及redission分布式锁主流程分析
Project compilation nosuch*** error problem
Optimization ideas from ordinary query commodities to highly concurrent query commodities
mongoDB快速入门
OJ 1284 counting problem
网络——数据链路层
关于Shader KeyWord的整理
关于时间复杂度,你不知道的都在这里
OJ 1284 记数问题
OJ 1020 最小的回文数
ZOJ Problem 1005 jugs
2022-07-19 Damon database connection instance, execution script, system command
[dynamic planning -- the best period for buying and selling stocks series 3]
OJ 1505 保险丝
Explain in detail