当前位置:网站首页>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 048. serialization and deserialization binary tree
- AQS之countDownLatch源码分析
- [pta-- use queues to solve the problem of monkeys choosing kings]
- NIO示例
- Analysis of cyclicbarrier source code of AQS
- SSAO By Computer Shader(三)
- RayMarching realizes volume light rendering
- OJ 1451 digital games
- 准备开始写博客了
- OJ 1284 counting problem
猜你喜欢

Leetcode 刷题日记 剑指 Offer II 050. 向下的路径节点之和

Prometheus monitoring Nacos

Problem solving for ACM freshmen in Jiangzhong on October 26

Source code analysis of countdownlatch of AQS

Leetcode brush question diary sword finger offer II 053. Medium order successor in binary search tree

【无标题】

Explain in detail

Mongodb quick start

Graphic pipeline foundation (II)

Mongodb replica set and partitioned cluster
随机推荐
[basic knowledge of binary tree]
Rain Scene Effect (I)
What is hash? (development of Quantitative Trading Robot System)
NiO example
[pta ---- traversal of tree]
Brief analysis of order transaction
OJ 1505 fuse
@Postconstruct annotations and useful examples
2022-07-19 Damon database connection instance, execution script, system command
Everything you don't know about time complexity is here
Mongodb replica set and partitioned cluster
New Selenium
[PTA----输出全排列]
OJ 1045 反转然后相加
RayMarching实现体积光渲染
[dynamic planning -- the best period series for buying and selling stocks]
ZOJ Problem 1005 jugs
【动态规划--买卖股票的最佳时期系列2】
MySQL index optimization
[explain in detail how to realize Sanzi chess step by step]