fixed encoding and set telnetd as default cmd