Skip to main content

userinfo

Get the Eenos User Information

This api option will fetch the Eenso user  information and show it.

Command:

/usr/local/eenos/scripts/eapi --userinfo --user=USER

Where USER is the  Eenos user name

Example :

Fetch the user info of Eenos user  fun as YAML

# /usr/local/eenos/scripts/eapi --userinfo --user=fun
data:
  addondomains: unlimited
  bandwidth: unlimited
  contactemail: fun@fun.com
  dedicatedip:
    ipv4: 10.40.192.204
    ipv6: 2a01:4f8:120:20xx::xx
    status: 'off'
    status6: 'off'
  dkim: 'on'
  domain: fun.com
  email: unlimited
  feature: Default
  ftp: unlimited
  homedir: /home/fun
  language: en
  maillist: unlimited
  mailquota: unlimited
  mailserver: local
  nameservers:
  - ns1.domain.com
  - ns2.domain.com
  - ns3.domain.com
  owner: root
  package: Gold
  parkeddomains: unlimited
  quota: unlimited
  reseller:
    selfown: 'off'
    status: 'off'
  setuptime: 2021-01-23 23:14
  shell:
    shell: /usr/sbin/nologin
    status: 'off'
  spf: 'on'
  sql: unlimited
  subdomains: unlimited
  theme: default
  user: fun
message: user information of - fun
status: ok

Fetch the user info of Eenos user  fun as  JSON Pretty

 # /usr/local/eenos/scripts/eapi --userinfo --user=fun --output=jsonpretty
{
    "status": "ok",
    "message": "user information of - fun",
    "data": {
        "addondomains": "unlimited",
        "bandwidth": "unlimited",
        "contactemail": "fun@fun.com",
        "dedicatedip": {
            "ipv4": "10.40.192.204",
            "ipv6": "2a01:4f8:120:20xx::xx",
            "status": "off",
            "status6": "off"
        },
        "dkim": "on",
        "domain": "fun.com",
        "email": "unlimited",
        "feature": "Default",
        "ftp": "unlimited",
        "homedir": "/home/fun",
        "language": "en",
        "maillist": "unlimited",
        "mailquota": "unlimited",
        "mailserver": "local",
        "nameservers": [
            "ns1.domain.com",
            "ns2.domain.com",
            "ns3.domain.com"
        ],
        "owner": "root",
        "package": "Gold",
        "parkeddomains": "unlimited",
        "quota": "unlimited",
        "reseller": {
            "selfown": "off",
            "status": "off"
        },
        "setuptime": "2021-01-23 23:14",
        "shell": {
            "shell": "/usr/sbin/nologin",
            "status": "off"
        },
        "spf": "on",
        "sql": "unlimited",
        "subdomains": "unlimited",
        "theme": "default",
        "user": "fun"
    }