What is rkey of a user ?
What is rkey of a user ?
What is rkey of a user ?
[root@fg~]# v-list-user admin
USER: admin
FNAME: System
LNAME: Administrator
PACKAGE: default
WEB_TEMPLATE: default
BACKEND_TEMPLATE: NULL
PROXY_TEMPLATE: default
DNS_TEMPLATE: default
WEB_DOMAINS: 100
WEB_ALIASES: 100
DNS_DOMAINS: 100
DNS_RECORDS: 100
MAIL_DOMAINS: 100
MAIL_ACCOUNTS: 100
DATABASES: 100
CRON_JOBS: 100
DISK_QUOTA: 10000
BANDWIDTH: 100000
NS: ns1.localhost.ltd,ns2.localhost.ltd
SHELL: bash
BACKUPS: 3
CONTACT: asd
CRON_REPORTS: yes
RKEY: OIHOopsK2P
SUSPENDED: no
SUSPENDED_USERS: 0
SUSPENDED_WEB: 0
SUSPENDED_DNS: 0
SUSPENDED_MAIL: 0
SUSPENDED_DB: 0
SUSPENDED_CRON: 0
IP_AVAIL: 1
IP_OWNED: 1
U_USERS: 2
U_DISK: 0
U_DISK_DIRS: 0
U_DISK_WEB: 0
U_DISK_MAIL: 0
U_DISK_DB: 0
U_BANDWIDTH: 0
U_WEB_DOMAINS: 2
U_WEB_SSL: 1
U_WEB_ALIASES: 2
U_DNS_DOMAINS: 2
U_DNS_RECORDS: 22
U_MAIL_DOMAINS: 2
U_MAIL_DKIM: 0
U_MAIL_ACCOUNTS: 0
U_DATABASES: 1
U_CRON_JOBS: 7
U_BACKUPS: 0
LANGUAGE: en
HOME: /home/admds
TIME: 05:39:45
DATE: 2015-09-28
What is rkey and can it be changed ??
[root@fg~]# v-list-user admin
USER: admin
FNAME: System
LNAME: Administrator
PACKAGE: default
WEB_TEMPLATE: default
BACKEND_TEMPLATE: NULL
PROXY_TEMPLATE: default
DNS_TEMPLATE: default
WEB_DOMAINS: 100
WEB_ALIASES: 100
DNS_DOMAINS: 100
DNS_RECORDS: 100
MAIL_DOMAINS: 100
MAIL_ACCOUNTS: 100
DATABASES: 100
CRON_JOBS: 100
DISK_QUOTA: 10000
BANDWIDTH: 100000
NS: ns1.localhost.ltd,ns2.localhost.ltd
SHELL: bash
BACKUPS: 3
CONTACT: asd
CRON_REPORTS: yes
RKEY: OIHOopsK2P
SUSPENDED: no
SUSPENDED_USERS: 0
SUSPENDED_WEB: 0
SUSPENDED_DNS: 0
SUSPENDED_MAIL: 0
SUSPENDED_DB: 0
SUSPENDED_CRON: 0
IP_AVAIL: 1
IP_OWNED: 1
U_USERS: 2
U_DISK: 0
U_DISK_DIRS: 0
U_DISK_WEB: 0
U_DISK_MAIL: 0
U_DISK_DB: 0
U_BANDWIDTH: 0
U_WEB_DOMAINS: 2
U_WEB_SSL: 1
U_WEB_ALIASES: 2
U_DNS_DOMAINS: 2
U_DNS_RECORDS: 22
U_MAIL_DOMAINS: 2
U_MAIL_DKIM: 0
U_MAIL_ACCOUNTS: 0
U_DATABASES: 1
U_CRON_JOBS: 7
U_BACKUPS: 0
LANGUAGE: en
HOME: /home/admds
TIME: 05:39:45
DATE: 2015-09-28
What is rkey and can it be changed ??
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: What is rkey of a user ?
I have a quick look at the code and think it has something to do with password hash or something random for authentication.
v-change-user-password
web/reset/index.php
v-change-user-password
Code: Select all
update_user_value "$user" '$RKEY' "$(gen_password)"
Code: Select all
$rkey = $data[$user]['RKEY'];
if ($rkey == $_POST['code']) {
...
} else {
$ERROR = "<a class=\"error\">".__('Invalid username or code')."</a>";
}
Re: What is rkey of a user ?
Thanks for your input
But i am still confused what exactly is the purpose behind it.
But i am still confused what exactly is the purpose behind it.
Re: What is rkey of a user ?
When a user request there password to be reset they must enter the code that is emailed to them. This code happens to be the rkey. So in your case you could go to the reset password page enter your username "admin" click request then enter the rkey "OIHOopsK2P" as the Reset Code click next then enter your new password and you would be able to change your password.sachinsud wrote:Thanks for your input
But i am still confused what exactly is the purpose behind it.