{"id":2703,"date":"2022-09-06T08:52:02","date_gmt":"2022-09-06T12:52:02","guid":{"rendered":"https:\/\/cyburdial.net\/?p=2703"},"modified":"2024-12-05T19:01:43","modified_gmt":"2024-12-06T00:01:43","slug":"how-to-enable-and-use-password-encryption-in-vicidial","status":"publish","type":"post","link":"https:\/\/dialer.one\/index.php\/how-to-enable-and-use-password-encryption-in-vicidial\/","title":{"rendered":"How to &#8211; enable and use password encryption in ViciDial"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">How to &#8211; enable and use password encryption in ViciDial<\/h1>\n\n\n\n<p>&nbsp;&nbsp; &nbsp;This article is going to go over how to enable and use password encryption in ViciDial. By default passwords are displayed in plain text in the ViciDial Admin GUI, this will show you how to encrypt those.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">&nbsp;&nbsp;Step 1: Installing the Bcrypt perl module<\/h2>\n\n\n\n<p>&nbsp; &nbsp;Using the CPAN console install the Bcrypt, run the below command<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cpan<br>install Crypt::Eksblowfish::Bcrypt<\/p>\n<\/blockquote>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"693\" height=\"447\" sizes=\"auto, (max-width: 693px) 100vw, 693px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/09\/image-4.png\" alt=\"install Bcrypt with cpan\" class=\"wp-image-2704\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/09\/image-4.png 693w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/09\/image-4-600x387.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/09\/image-4-300x194.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/09\/image-4-500x323.png 500w\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"_Step_2_Enabling_the_Password_Encryption\">&nbsp;&nbsp;Step 2: Enabling the Password Encryption<\/h2>\n\n\n\n<p>&nbsp; &nbsp; By default the Password encryption is disabled in Vicidial and we need to enable it by using a perl script via the Linux command line as show below:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\/usr\/share\/astguiclient\/ADMIN_bcrypt_convert.pl &#8211;debugX &#8211;test<\/p>\n<\/blockquote>\n\n\n\n<p>If no errors received run the same script without &#8211;test flag as shown below<\/p>\n\n\n\n<p>\/usr\/share\/astguiclient\/ADMIN_bcrypt_convert.pl &#8211;debugX&nbsp;<\/p>\n\n\n\n<p>Now navigate to ADMIN &gt; SYSTEM SETTINGS &gt; PASSWORD ENCRYPTION<br>and you&#8217;ll see the Password Encryption is now enabled. Now all new users added to the system will automatically be encrypted.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"_Step_3_Encrypting_Plain_Text_Password\">&nbsp;&nbsp;Step 3: Encrypting Plain Text Password<\/h2>\n\n\n\n<p>&nbsp; &nbsp; All the users passwords which are created before enabling the Password encryption, will remain as clear plain text ,to encrypt the existing plain text passwords either manually edit them and update or run the below command to convert all the plain text to encrypted text.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\/usr\/share\/astguiclient\/ADMIN_bcrypt_convert.pl &#8211;clear-plaintext-pass<br>or<br>\/usr\/share\/astguiclient\/ADMIN_bcrypt_convert.pl &#8211;debugX &#8211;update-override &#8211;clear-plaintext-pass<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"_How_to_Reset_the_Forgotten_Password\">&nbsp;&nbsp;How to Reset the Forgotten&nbsp;Password<\/h1>\n\n\n\n<p>&nbsp; &nbsp; If you have forget the admin password , you need to update the password under mysql\/mariadb with the hashed password, for non-admin users either you can update the password from admin login or follow the below procedure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"_Step_1_Generate_the_Hash_Password\">&nbsp;&nbsp;Step 1: Generate the Hash Password<\/h2>\n\n\n\n<p>&nbsp; &nbsp; Run the below command from SSH console with the password which you want to set of a user<br>for example for admin user 6666 i need to set a password as admin123<\/p>\n\n\n\n<p>\/srv\/www\/htdocs\/agc\/bp.pl &#8211;pass=admin123<\/p>\n\n\n\n<p>The above command will output the HASHED value of admin123 ,copy that proceed to step 2<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"_Step_2_Updating_the_Mysql_user_table\">&nbsp;&nbsp;Step 2: Updating the Mysql user table<\/h2>\n\n\n\n<p>&nbsp;&nbsp; &nbsp;once hash password generated run the below mysql command with the password generated in step 1<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>mysql -p<br>use asterisk;<br>UPDATE vicidial_users set pass_hash=&#8217;kfYvywV959fn09rSZML70wHjjxsaYjm&#8217; where user=&#8217;6666&#8242;;<\/p>\n<\/blockquote>\n\n\n\n<p>Now you can login to the vicidial admin or agent portal with the new password.<\/p>\n\n\n\n<p>I hope this helps some of you who need to have tighter security for your systems.<\/p>\n\n\n\n<p>-Chris aka carpenox<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0This article is going to go over how to enable and use password encryption in ViciDial. By default passwords are displayed in plain text in the ViciDial Admin GUI, this will show you how to encrypt those.<\/p>\n","protected":false},"author":1,"featured_media":866,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[96],"tags":[533,536],"class_list":["post-2703","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vicidial","tag-howto","tag-vicidial"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/dialer.one\/wp-content\/uploads\/2020\/08\/touch_lock.png","jetpack-related-posts":[{"id":2899,"url":"https:\/\/dialer.one\/index.php\/how-to-integrate-queuemetrics-with-vicidial\/","url_meta":{"origin":2703,"position":0},"title":"How to &#8211; Integrate Queuemetrics with Vicidial","author":"carpenox","date":"May 8, 2023","format":false,"excerpt":"How to - Integrate Queuemetrics with Vicidial This article will go over how to integrate Queuemetrics with ViciDial ViciDial integration ViciDial is an enterprise class, open source call center suite in use by many large call centers around the world. VICIdial has a full featured predictive dialer. It can also\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2535,"url":"https:\/\/dialer.one\/index.php\/how-to-setup-email-for-vicidial-reports-and-voicemail\/","url_meta":{"origin":2703,"position":1},"title":"How to &#8211; Setup Email for ViciDial reports and voicemail","author":"carpenox","date":"May 29, 2022","format":false,"excerpt":"How to - Setup Email for ViciDial reports and voicemail This article will go over how to setup your email configuration on your server in order to get reports from ViciDial or to receive voicemail to email notifications and recordings. Gmail recently changed the way their security is handled so\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"email vicidial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/05\/image-17.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2232,"url":"https:\/\/dialer.one\/index.php\/how-to-integrate-vtiger-7-3-into-vicidial\/","url_meta":{"origin":2703,"position":2},"title":"How to &#8211; integrate vTiger 7.3 into Vicidial","author":"carpenox","date":"October 28, 2021","format":false,"excerpt":"How to - integrate vTiger 7.3 into Vicidial This article will go over how to complete a vTiger integration into Vicidial, I have done it and its working on version 7.3. I would like to go a little deeper on this than the original coder wrote up but I will\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/cyburcrm3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/cyburcrm3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/cyburcrm3.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/cyburcrm3.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/cyburcrm3.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":4653,"url":"https:\/\/dialer.one\/index.php\/how-to-set-up-load-balanced-phones-and-calling-for-vicidial\/","url_meta":{"origin":2703,"position":3},"title":"How to &#8211; Set Up Load Balanced Phones and Calling for ViciDial","author":"carpenox","date":"February 8, 2025","format":false,"excerpt":"How to - Set Up Load Balanced Phones and Calling for ViciDial Step 1: Ensure Prerequisites Before you start, make sure you have: VICIdial installed and running on multiple servers. A webphone such as Viciphone or CyburPhone A webrtc template ready to go with all the servers SSL certs as\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"bulk phone insert","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2025\/02\/image-6-png.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2025\/02\/image-6-png.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2025\/02\/image-6-png.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2025\/02\/image-6-png.webp?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2201,"url":"https:\/\/dialer.one\/index.php\/how-to-scratch-install-vicidial-on-ubuntu\/","url_meta":{"origin":2703,"position":4},"title":"How to &#8211; scratch install Vicidial on Ubuntu","author":"carpenox","date":"September 8, 2021","format":false,"excerpt":"How to - scratch install Vicidial on Ubuntu This article will go over how to scratch install Vicidial on Ubuntu 14 - 22 Step 1 - The Basics apt-get updateapt-get upgradeapt-get install apache2 -yapt-get install build-essential -yapt-get install mariadb-client-10.3 -yapt-get install mariadb-server -y apt-get install subversion libjansson-dev sqlite autoconf automake\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"Realtime Report","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/01\/realtime1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/01\/realtime1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/01\/realtime1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/01\/realtime1.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/01\/realtime1.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":3768,"url":"https:\/\/dialer.one\/index.php\/how-to-setup-a-press-1-campaign-in-vicidial\/","url_meta":{"origin":2703,"position":5},"title":"How to &#8211; Setup a Press 1 campaign in ViciDial","author":"carpenox","date":"October 21, 2023","format":false,"excerpt":"How to - Setup a Press 1 campaign in ViciDial In this article I will cover how to setup a press 1 campaign in ViciDial. I am in no way a lawyer, however you should know that press 1 campaigns in the US is illegal to customers unless you have\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"Press 1 campaign","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/comments?post=2703"}],"version-history":[{"count":0,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2703\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media\/866"}],"wp:attachment":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media?parent=2703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/categories?post=2703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/tags?post=2703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}