当前位置:网站首页>Encrypt Ogg users
Encrypt Ogg users
2022-07-19 14:38:00 【Document Porter】
-- Use default build key Methods
encrypt password oracle,ENCRYPTKEY default ## stay ggsci Generate the encrypted password on the command line
GGSCI (redhat762100 as [email protected]) 3> encrypt password oracle,ENCRYPTKEY default
Using Blowfish encryption with DEFAULT key.
Encrypted password: AACAAAAAAAAAAAGAIFAAUDVHCFUGFIYF
Algorithm used: BLOWFISH
GGSCI (redhat762100 as [email protected]) 4>
dblogin userid ogg,password AACAAAAAAAAAAAGAIFAAUDVHCFUGFIYF,ENCRYPTKEY default ## Use the encrypted password , stay GGSCI Log in to the database on the command line
GGSCI (redhat762100) 5> dblogin userid ogg,password AACAAAAAAAAAAAGAIFAAUDVHCFUGFIYF,ENCRYPTKEY default
Successfully logged into database.
GGSCI (redhat762100 as [email protected]) 6>
userid ogg,password AACAAAAAAAAAAAGAIFAAUDVHCFUGFIYF,ENCRYPTKEY default ## In the parameter file of the process , Add these , Replace userid ogg,password oracle -- Use key Method for encryption
### 256 Bit encryption
cd /u01/ogg19c
./keygen 256 1 -- 256 Bit encryption , Generate 1 A code success , Be careful , When logging in , Specify the encryption method AES256
[[email protected] ogg19c]$ ./keygen 256 1
0x608EB330DCDD3E6197500E707D70467C4BBCBE2A11780A2F3C78DE4F0BD2ED05
[[email protected] ogg19c]$edit ENCKEYS file , Encrypt the generated above key fill , The way is as follows :
vi ENCKEYS
## KEY NAME KEY VALUE
ogg_key 0x608EB330DCDD3E6197500E707D70467C4BBCBE2A11780A2F3C78DE4F0BD2ED05
ENCRYPT PASSWORD oracle AES256 ENCRYPTKEY ogg_key ## stay GGSCI Generate an encrypted password on the command line , The specified encryption method is AES256
GGSCI (redhat762100) 1> ENCRYPT PASSWORD oracle AES256 ENCRYPTKEY ogg_key
Encrypted password: AADAAAAAAAAAAAGABDCEKCYIGFOAIFJAAJQBHCBHBAREKCGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Algorithm used: AES256
GGSCI (redhat762100) 2>Log in with the generated encrypted password , Specify the encryption method as AES256 , encryption key yes ogg_key , Login successful
dblogin userid ogg,password AADAAAAAAAAAAAGABDCEKCYIGFOAIFJAAJQBHCBHBAREKCGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AES256,encryptkey ogg_key
GGSCI (redhat762100) 2> dblogin userid ogg,password AADAAAAAAAAAAAGABDCEKCYIGFOAIFJAAJQBHCBHBAREKCGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AES256,encryptkey ogg_key
Successfully logged into database.
GGSCI (redhat762100 as [email protected]) 3>-- During the test , Used AES156 encryption , But when you log in , Is not specified AES256, Cause error , The above specifies AES156 , Login successful , Don't specify , The default is AES128 encryption
GGSCI (redhat762100) 2> dblogin userid ogg,password AADAAAAAAAAAAAGABDCEKCYIGFOAIFJAAJQBHCBHBAREKCGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AA,encryptkey ogg_key
ERROR: Error (-12) Error (-11) retrieving key for OGG_KEY in file ENCKEYS: The length of the key specified in KEYNAME does not match the encryption method. AES256
#### 128 Bit encryption
./keygen 128 1 -- 128 Bit encryption , The default is 128 position , Generate 1 A code
[[email protected] ogg19c]$ ./keygen 128 1 ## Generate 128 Bit encryption key
0x174C852123CCC100699D4A4BB0703412
[[email protected] ogg19c]$
Write the generated password in ENCKEYS In file , The format is as follows
[[email protected] ogg19c]$ cat ENCKEYS
ogg_key 0x174C852123CCC100699D4A4BB0703412
[[email protected] ogg19c]$
stay GGSCI Generate encrypted password on , No encryption method specified , Use default 128 position
ENCRYPT PASSWORD oracle ENCRYPTKEY ogg_key
GGSCI (redhat762100) 1> ENCRYPT PASSWORD oracle ENCRYPTKEY ogg_key
Encrypted password: AADAAAAAAAAAAAGAZIUEICADYHPHXIMHBEDHNIXGTFMFZHAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Algorithm used: AES128
GGSCI (redhat762100) 2>Log on to the test , Login successful
dblogin userid ogg,password AADAAAAAAAAAAAGAZIUEICADYHPHXIMHBEDHNIXGTFMFZHAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,encryptkey ogg_key
GGSCI (redhat762100) 4> dblogin userid ogg,password AADAAAAAAAAAAAGAZIUEICADYHPHXIMHBEDHNIXGTFMFZHAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,encryptkey ogg_key
Successfully logged into database.
GGSCI (redhat762100 as [email protected]) 5>hinder tail file ,tcpip encryption , Have time to retest .
END
边栏推荐
- Alibaba microservice component Nacos registry
- Huawei technologies:jonathan Krolikowski | from design to deployment, zero contact deep reinforcement learning WLANs
- 详解C语言动态内存管理
- 优秀的jar包启动shell脚本收藏
- Rotation formula of coordinate simulation matrix
- C. Watto and mechanism (hash | dictionary tree + DFS (DFS on tree))
- 函数初认识-下
- Code runner for vs code, with more than 40million downloads! Support more than 50 languages
- C - pointer
- 华为无线设备配置动态负载均衡
猜你喜欢

Notes with a face value of 10exp (303)

BiShe - online reservation and registration system based on SSM

Si446 usage record (III): match function

The first step of agile: turn "iteration" into "sprint" and start!

Problème de la valeur maximale de la fenêtre coulissante

Take a look at try{}catch{}

Brief introduction of Bezier curve

华为无线设备配置动态负载均衡

Version announcement | Apache Doris 1.1 release version officially released!

Wechat applet -- wxss template style
随机推荐
Common built-in functions, iteratable objects, iterator objects, exception capture, purpose of exception capture, generator objects, modules, absolute and relative imports, package concepts, modules
Analysis of network communication flow of different containers on the same host
ClassNotFoundException:com. tongweb. geronimo. osgi. locator. ProviderLocator
Redis源码与设计剖析 -- 4.跳跃表
Pyside2嵌入Matplotlib的绘图
Huawei wireless device configuration intelligent roaming
Tree and bipartite graph [thinking]
C. Watto and mechanism (hash | dictionary tree + DFS (DFS on tree))
手册不全,如何手工刨出TongWeb的監控信息?
A review of classical must see for Nonconvex Optimization Problems "from symmetry to geometry", University of Rochester, et al
Méthode de compilation de la courbe RPS d'O'Neill (originale par le Dr Tao)
滑動窗口最大值問題
273. 分级 - AcWing题库【DP】
Unity realizes UI backpack equipment dragging function
Optimizer of pytoch framework optimizer
00 后博士获聘南大特任副研究员,曾 4 岁上小学,14 岁考入南大!
96. Different binary search trees
Unity subtitle scrolling
陶博士月线反转6.0
揭开服务网格~Istio Service Mesh神秘的面纱