How to Change Default CRON Password in VICIdial.


How to Change Default Cron Password in VICIdial.


cd /usr/share/astguiclient

wget http://www.poundteam.com/downloads/scripts/perl/ADMIN_update_cron_pass.pl.txt

mv ADMIN_update_cron_pass.pl.txt ADMIN_update_cron_pass.pl

chmod +x ADMIN_update_cron_pass.pl

perl ADMIN_update_cron_pass.pl


Demo:


root@debian-1gb-nyc3-01:~# cd /usr/share/astguiclient
root@debian-1gb-nyc3-01:/usr/share/astguiclient# wget http://www.poundteam.com/downloads/scripts/perl/ADMIN_update_cron_pass.pl.txt
--2016-04-06 08:46:58--  http://www.poundteam.com/downloads/scripts/perl/ADMIN_update_cron_pass.pl.txt
Resolving www.poundteam.com (www.poundteam.com)... 100.3.251.62
Connecting to www.poundteam.com (www.poundteam.com)|100.3.251.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15107 (15K) [text/plain]
Saving to: ‘ADMIN_update_cron_pass.pl.txt’

ADMIN_update_cron_pass.pl.txt                               100%[==========================================================================================================================================>]  14.75K  --.-KB/s   in 0.04s

2016-04-06 08:46:59 (371 KB/s) - ‘ADMIN_update_cron_pass.pl.txt’ saved [15107/15107]

root@debian-1gb-nyc3-01:/usr/share/astguiclient# mv ADMIN_update_cron_pass.pl.txt ADMIN_update_cron_pass.pl
root@debian-1gb-nyc3-01:/usr/share/astguiclient# chmod +x ADMIN_update_cron_pass.pl
root@debian-1gb-nyc3-01:/usr/share/astguiclient# perl ADMIN_update_cron_pass.pl

Previous astGUIclient configuration file found at: /etc/astguiclient.conf

Please enter the new cron password : password

Please enter root MySQL password : server

  new cron password:      password
  root MySQL password:    server


Are these settings correct?(y/n): [y]
Writing changes to astguiclient.conf file: /etc/astguiclient.conf
Writing changes to manager.conf file: /etc/astguiclient.conf
Writing changes to dbconnect.php file: /var/www/html/agc/dbconnect.php
Writing changes to dbconnect.php file: /var/www/html/vicidial/dbconnect.php

STARTING DATABASE TABLES UPDATES PHASE...
  Updating servers table ASTmgrSECRET...
  Updating phones table ASTmgrSECRET...
  Updating phones table DBX_pass...
  Updating phones table DBY_pass...
  Updating servers table default ASTmgrSECRET...
  Updating phones table default ASTmgrSECRET...
  Updating phones table default DBX_pass...
  Updating phones table default DBY_pass...
  Updating MySQL password for user 'cron'...

CRON PASSWORD CHANGE FOR VICIDIAL FINISHED!
  - process runtime      (36 sec) (0.6 minutes)



----Notes from VICdial Forum and poundteam Inc.


Comments

Popular posts from this blog

VICIdial Scratch Install CentOS 7 & MariaDB & Asterisk 11

VICIdial Scratch Install CentOS 7 & MariaDB & Asterisk 13