当前位置:网站首页>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 brush question diary sword finger offer II 053. Medium order successor in binary search tree

Bug experience related to IAP jump of stm32

Analysis of reentrantlock source code of AQS

mongoDB快速入门

【二叉树基础知识】
![[C language] dynamic memory management](/img/bb/2ec65b38e85f53269dc03d885d70f4.png)
[C language] dynamic memory management
![[c language] - step by step to achieve minesweeping games](/img/ee/49ddfcd948ccd5c8c9dec3c48c6112.png)
[c language] - step by step to achieve minesweeping games

Mongodb replica set and partitioned cluster

2021-11-10

SSAO by computer shader (III)
随机推荐
[basic knowledge of binary tree]
Array solution script
Brief analysis of order transaction
SSAO By Computer Shader(三)
Water drop effect on umbrella
Leetcode 刷题日记 剑指 Offer II 053. 二叉搜索树中的中序后继
RayMarching realizes volume light rendering
OJ 1505 fuse
[explain in detail how to realize Sanzi chess step by step]
Rain Scene Effect (I)
MySQL index optimization
Mongodb quick start
软件开发中常见模型
Question brushing record - linked list
网络——数据链路层
Water rendering example
SSAO by computer shader (II)
Question brushing record ---- reverse the linked list (reverse the whole linked list)
Battle plague Cup -- my account book
Redis cache design and performance optimization