Tuesday, May 20, 2008

Ubuntu Linux, OpenSSH security update and /dev/null

After doing my security update for OpenSSH on my Ubuntu, I found out my /dev/null turned to be an ordinary ASCII file. If you encounter the same problem the fix is simple, just re-create /dev/null to because a character device again.

$ sudo rm /dev/null
$ sudo mknod /dev/null c 1 3
$ sudo chmod 0600 /dev/null

No comments: