influxdb 筆記: 使用者管理

G8bao7發表於2016-11-29



# /etc/influxdb/influxdb.conf
# 必須在未開啟前建立使用者
[http]
  auth-enabled = false|true

### 授權
# admin
# GRANT ALL PRIVILEGES TO
# REVOKE ALL PRIVILEGES FROM
CREATE USER root WITH PASSWORD 'influxdb123' WITH ALL PRIVILEGES

# not admin
# GRANT [READ,WRITE,ALL] ON TO
# REVOKE [READ,WRITE,ALL] ON FROM
CREATE USER dba WITH PASSWORD 'dba123'
GRANT ALL ON dba TO dba

### 檢視
show users

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26250550/viewspace-2129319/,如需轉載,請註明出處,否則將追究法律責任。

相關文章