一般ユーザでscreenが使えない

ServersMan@VPS(CentOS5)で一般ユーザだとscreenが使えない。

Sorry, could not find a PTY.

なんて言われちゃいます。

一般ユーザで screen が動かない - プログラマ 福重 伸太朗 〜基本へ帰ろう〜によると
/dev/ptmxのパーミッションが足りないようだ。

$ ls -la /dev/ptmx
crw-r--r-- 1 root root 5, 2  2?? 13 12:43 /dev/ptmx

なのでグループとその他に書き込み権限を与えてあげる。

# chmod 0666 /dev/ptmx
# ls -la /dev/ptmx 
crw-rw-rw- 1 root root 5, 2  2?? 13 12:43 /dev/ptmx

するとちゃんと動いた♪