Password recovery

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Password recovery

Postby Joss2103 » Mon Jun 28, 2021 11:57 am

How are you,

Excuse me, can someone tell me how I can recover the password of a user in vicidial please?

Thanks !!
Joss2103
 
Posts: 99
Joined: Wed Jul 22, 2020 3:20 pm

Re: Password recovery

Postby carpenox » Mon Jun 28, 2021 12:03 pm

mysql asterisk -u cron -p1234 -e "select user,pass,active from vicidial_users where user_level='9'"

this will show you level 9 passwords

if you need another level just change the 9 to whatever level the user is
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Password recovery

Postby Joss2103 » Mon Jun 28, 2021 10:48 pm

Thank you very much, I managed to recover the password, now I have a worse detail, and that is that when entering the user I can not see anything, it tells me that I do not have permissions to see this page, I tried to access from base and create suarios with nevel 9 and by giving permissions To see everything, it saves and then when wanting to edit other settings, even the users happened the same thing, that I don't have permissions, this has happened to them, I don't know if you understand me.

Thanks!!
Joss2103
 
Posts: 99
Joined: Wed Jul 22, 2020 3:20 pm

Re: Password recovery

Postby dhijrwn » Tue Jun 29, 2021 1:50 am

Joss2103 wrote:Thank you very much, I managed to recover the password, now I have a worse detail, and that is that when entering the user I can not see anything, it tells me that I do not have permissions to see this page, I tried to access from base and create suarios with nevel 9 and by giving permissions To see everything, it saves and then when wanting to edit other settings, even the users happened the same thing, that I don't have permissions, this has happened to them, I don't know if you understand me.

Thanks!!


You need to edit the user Admin Interface Options settings, set it all from 0 to 1.
Cluster setup i7-9700 cpu @ 3.00ghz 32GB ram 1xDB WEB ARCH 11xTEL 4core
ViciBox v.9.0.3 ISO VERSION:2.14-853a BUILD: 220328-1420
SVN: 3595 DB Schema: 1657 | Asterisk 13.29.2-vici
Zoiper 5 | VICIPhone| No Digium/Sangoma Hardware
dhijrwn
 
Posts: 149
Joined: Tue Jan 07, 2020 6:12 am

Re: Password recovery

Postby carpenox » Tue Jun 29, 2021 7:31 am

change your my.cnf to add sql_mode="No_ENGINE_SUBSTITUTION"
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Password recovery

Postby Joss2103 » Tue Jun 29, 2021 10:48 am

Yes, from the frint I give permissions to everything, leaving it at 1 but when saving changes everything is disabled again and I can not do anything, I already found the my.cnf file at the end of everything you have add the line you comment but nothing happens or I don't know if I have to modify or do something else?

[mysql.server]
user = mysql
#basedir = /var/lib

[client]
port = 3306
socket = /var/lib/mysql/mysql.sock

[mysqld]
datadir = /var/lib/mysql
#tmpdir = /home/mysql_tmp
socket = /var/lib/mysql/mysql.sock
user = mysql
old_passwords = 0
ft_min_word_len = 3
max_connections = 800
max_allowed_packet = 32M
skip-external-locking

log-error = /var/log/mysqld/mysqld.log

query-cache-type = 1
query-cache-size = 32M

long_query_time = 1
#slow_query_log = 1
#slow_query_log_file = /var/log/mysqld/slow-queries.log

tmp_table_size = 128M
table_cache = 1024

join_buffer_size = 1M
key_buffer = 512M
sort_buffer_size = 6M
read_buffer_size = 4M
read_rnd_buffer_size = 16M
myisam_sort_buffer_size = 64M

max_tmp_tables = 64

thread_cache_size = 8
thread_concurrency = 8

# If using replication, uncomment log-bin below
#log-bin = mysql-bin

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash

[isamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout

[mysqld_safe]
#log-error = /var/log/mysqld/mysqld.log
#pid-file = /var/run/mysqld/mysqld.pid

sql_mode = No_ENGINE_SUBSTITUTION
Joss2103
 
Posts: 99
Joined: Wed Jul 22, 2020 3:20 pm

Re: Password recovery

Postby carpenox » Tue Jun 29, 2021 2:24 pm

put it just like i have it, with quotes and all caps
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 67 guests