[PATCH] add a PTY console; & use a UNIX domain socket for better security