WiFi hotspot in 17.10 [duplicate]

I searched a lot but wasn't able to find. Also, there's no option I am able to find in GUI.

How can I change the password for WiFi hotspot in Ubuntu 17.10? It's very urgent.

Thanks for the help and regards!


Solution 1:

$ nmcli connection modify Hotspot 802-11-wireless-security.key-mgmt wpa-psk 802-11-wireless-security.psk mypassword

Just replace mypassword with your desired password. Make sure that the password has at least 8 characters.