当前位置:网站首页>The solution of using non root user management in secure stand-alone database under general machine environment
The solution of using non root user management in secure stand-alone database under general machine environment
2022-07-24 02:35:00 【Hangao PG Laboratory】
Henkel database
Catalog
Environmental Science
Document purpose
Details
Environmental Science
system platform : Galaxy Unicorn (CPUX86_64),Linux x86-64 Red Hat Enterprise Linux 7
edition :4.5.7,4.5.6,4.5.2
Document purpose
This article aims to provide the non root User management solutions .
Details
When the secure database is installed , By default root Users start and manage databases , In the general machine environment, the single machine scenario of Henkel Database Security version can also use non root Users to manage the database . Here's how to use highgo Specific operation steps for users to manage the database .
notes : You need to stop the database before operation , After the operation, start the database normally .
First step , Change the owner and group of the software directory to the corresponding system user .
chown highgo:highgo /opt/HighGo4.5.7-see -R
The second step , modify systemctl Service document , take User=root Change it to User=highgo.
vi /usr/lib/systemd/system/hgdb-see-4.5.7.service
[Unit]
Description=highgodb-4.5.7
Requires=network.target local-fs.target
After=network.target local-fs.target
[Service]
Type=forking
User=highgo
............
The third step , When data When the directory is not in the default installation directory , modify data The owner and group of the catalogue .
chown highgo:highgo $PGDATA -R
边栏推荐
- 【补题日记】[2022杭电暑期多校1]C-Backpack
- [FPGA tutorial case 38] communication case 8 - serial parallel serial data transmission based on FPGA
- 【知识图谱】实践篇——基于医疗知识图谱的问答系统实践(Part2):图谱数据准备与导入
- 【补题日记】[2022牛客暑期多校1]D-Mocha and Railgun
- Crud operation of mongodb (2)
- 通用机环境下安全版单机数据库使用非root用户管理的解决方案
- Use the hiflow scene connector to view the epidemic situation in the region every day
- LeetCode 70爬楼梯、199二叉树的右视图、232用栈实现队列、143重排链表
- UIE: 信息抽取的大一统模型
- [jailhouse article] virtualization over multiprocessor system on chip an enabling paradigm for
猜你喜欢

Research and analysis of the third-party dependency library Ag grid

Research on XMPP service (I)

redis数据类型概念

Jina AI and datawhale jointly launched a learning project!

Chinese scientists have made new progress in high security quantum key distribution networks

Hydrogen entrepreneurship competition | Liu Xiaoqi, chairman of Guohua Investment: take advantage of the integration of scenery, hydrogen storage and finance to host the entrepreneurship competition a

数据湖(十五):Spark与Iceberg整合写操作

Rylstim Screen Recorder

JDBC tool class

LeetCode 70爬楼梯、199二叉树的右视图、232用栈实现队列、143重排链表
随机推荐
Ardunio - ULN2003 drive board and DC motor fan - control fan speed
认识传输层协议—TCP/UDP
7 issues to consider before website construction
Opensmile introduction and problems encountered during installation
无需编码,自动实现“异步 Request-Reply”模式
关于缺少编程基础的朋友想转行 ABAP 开发岗提出的一些咨询问题和解答
【补题日记】[2022牛客暑期多校1]C-Grab the Seat
JDBC tool class
Enter cnpm -v and cnpm appears: the file c:\users\19457\appdata\roaming\npm\cnpm.ps1 cannot be loaded because running scripts is prohibited on this system.
La chaîne entrante a des données lors de la transmission des paramètres JS; Aucune donnée n'a été transmise au numéro; 2 [0] Oui! Les données de type numéro peuvent être indexées
MySQL---four JDBC
Understand the low code implementation of microservices
C from zero
利用宝塔面板计划任务执行自动推送网址到百度收录
Leetcode 203. remove linked list elements (2022.07.22)
wallys/WiFi6 MiniPCIe Module 2T2R2 × 2.4GHz 2x5GHz MT7915 MT7975
Camper recruitment | AI youth with the world in mind, the United Nations needs your help for sustainable development!
Codeworks 5 questions per day (average 1500) - day 23
Essential skills for programmers -- breakpoint debugging (idea version)
Beansearcher receives array parameters and logical deletion