added support for entering sudo password manually