Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

What is rkey of a user ?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
sachinsud
Posts: 3
Joined: Mon Sep 28, 2015 11:47 am

What is rkey of a user ?
  • Quote

Post by sachinsud » Tue Sep 29, 2015 4:58 am

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 ??
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: What is rkey of a user ?
  • Quote

Post by tjebbeke » Tue Sep 29, 2015 6:48 am

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

Code: Select all

update_user_value "$user" '$RKEY' "$(gen_password)"
web/reset/index.php

Code: Select all

$rkey = $data[$user]['RKEY'];
if ($rkey == $_POST['code']) {
     ...
} else {
    $ERROR = "<a class=\"error\">".__('Invalid username or code')."</a>";
}
Top

sachinsud
Posts: 3
Joined: Mon Sep 28, 2015 11:47 am

Re: What is rkey of a user ?
  • Quote

Post by sachinsud » Thu Oct 01, 2015 4:34 am

Thanks for your input

But i am still confused what exactly is the purpose behind it.
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: What is rkey of a user ?
  • Quote

Post by joem » Thu Oct 01, 2015 8:26 am

sachinsud wrote:Thanks for your input

But i am still confused what exactly is the purpose behind it.
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.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password