当前位置:网站首页>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
边栏推荐
- [datasets] - downloading some datasets of flyingthings3d optical flow
- Jina AI 联合Datawhale,发起学习项目!
- [untitled]
- 响应式pbootcms模板装修设计类网站
- 记于2022.7.21
- Brief introduction of tfw6524 perfectly replacing imported pt6524 chip
- 【补题日记】[2022牛客暑期多校1]J-Serval and Essay
- 营员招募|心怀世界的AI青年们,联合国需要你为可持续发展助力!
- Tensorflow 2.0 deep learning tutorial
- Beansearcher receives array parameters and logical deletion
猜你喜欢

"Why should we do IVX?"—— Interview with IVX CEO Meng Zhiping to understand IVX corporate culture

認識傳輸層協議—TCP/UDP

Tutoriel sur l'utilisation de la ligne de temps unitaire

Causal learning open source project: from prediction to decision!

Audio processing based on time-frequency diagram matlab

Backward quantum cryptography migration! NIST announces 12 Partners

Pyg uses messagepassing to build GCN to realize node classification

POP3客户端代码的实现

Live800:客户服务无小事,别让服务击溃企业口碑

Reading notes: self cultivation of programmers - Chapter 3
随机推荐
Rylstim Screen Recorder
Share two interesting special effects
認識傳輸層協議—TCP/UDP
Composition API (in setup) watch usage details
I'm a novice. I heard that there is a breakeven financial product in opening an account. What is it?
[diary of supplementary questions] [2022 Niuke summer school 1] d-mocha and railgun
Leetcode 70 climbing stairs, 199 right view of binary tree, 232 realizing queue with stack, 143 rearranging linked list
关于 SAP Fiori 应用的离线使用
Understand the transport layer protocol - tcp/udp
Research and analysis of the third-party dependency library Ag grid
QT display Chinese garbled code
【知识图谱】实践篇——基于医疗知识图谱的问答系统实践(Part2):图谱数据准备与导入
About offline use of SAP Fiori application
[diary of supplementary questions] [2022 Niuke summer school 1] i-chiitoitsu
Digital transformation behind the reshaping growth of catering chain stores
Live800:客户服务无小事,别让服务击溃企业口碑
POP3客户端代码的实现
IBM: realize the quantum advantage of fault tolerance by 2030
Pbootcms template calls the tag ordinal number from 2 or automatic number
BPG笔记(三)