media-centre / makenews

MakeNews is for journalists and newsrooms. It helps you track news from web and social media in real-time.
https://makenews.in
GNU Affero General Public License v3.0
53 stars 22 forks source link

Unable to create users using create_user.sh #137

Closed sudhamshk closed 7 years ago

sudhamshk commented 7 years ago

When we run create_user.sh in dist folder we see the following error:

Enter user name to be created demo Enter password for the user demo create_user.sh: 4: read: Illegal option -s Re-enter password for the user demo demo *** password matching failed. You can not proceed further

RaviBolla commented 7 years ago

read -s is not supported in all bash environments. Fixed with stty -echo