Change demo example password
First thing to do with a new installation is to change the default password for the demo users (users, passwords, and all other concepts will be clarified in Chapter 4,User Directory, SIP, and Verto and during the rest of this book). Edit the file /usr/local/freeswitch/conf/vars.xml :
Change "1234" to something else. If you change it to something easy, or only moderately difficult, you will be hacked in next 20 minutes. It probably does not matter financially until you add a PSTN gateway they can use atYOUR EXPENSE, but please consider the legal implications if someone uses your server to originate another kind of traffic, maybe some terrorist SIP calls? Then, take your time explaining it all to the FBI during the next 3 years. Don't rush, they've got time. So, choose a random string of robust length. In doubt, install and use uuidgen, it makes very good passwords. In Debian, from root command line:
apt-get install uuid-runtime
Then you execute uuidgen:
uuidgen a6333e94-0608-4abf-ba82-b0f0f13ef986
Is a good password, isn't it? Anyway, you don't have to remember it, you just cut and paste it:
Then save the file, and restart FreeSWITCH (this is a preprocessor variable, you MUST restart FS for the change to take effect).
From fs_cli, or console, type:
fsctl shutdown
And then restart FreeSWITCH as you've done previously.