I have installed teamviewer. but the command for setting a password shows the following error
$ sudo teamviewer --passwd "MY_password"
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
/opt/teamviewer/tv_bin/script/tvw_extra: line 77: 85333 Aborted (core dumped) "$TV_BIN_DIR/teamviewerd" --passwd "$pwd"
unknown response
Any idea to fix that?