TTYPath is needed for proper utmp registration of the shell to receive wall messages. (cherry picked from commit a9c97bbb)
mentioned in commit 3d8588c7