首页 > 代码库 > about gpdb password md5
about gpdb password md5
gtlions=# alter user gtlions password 'gtlions'; ALTER ROLE gtlions=# select * from pg_shadow; usename | usesysid | usecreatedb | usesuper | usecatupd | userepl | passwd | valuntil | useconfig ---------+----------+-------------+----------+-----------+---------+-------------------------------------+----------+----------- gtlions | 10 | t | t | t | t | md56c7d333ce7a7f5882bdc5a232c107d81 | | (1 row) gtlions=# \q gtlions:~ gtlions$ python Python 2.7.6 (default, Sep 9 2014, 15:04:36) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import hashlib >>> password = 'md5' + hashlib.md5("gtlionsgtlions").hexdigest() >>> password 'md56c7d333ce7a7f5882bdc5a232c107d81'
-EOF-
about gpdb password md5
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。