Subject: Bug#4062: running ps as root does not report controlling ttys correctly

From: Carlos Fonseca <[email-masked]>
Date: Sun, 4 Aug 1996 22:06:21 +0100 (BST)

Package: procps
Version: 1.01a-1

Running ps as root always shows "?" for the controlling tty of every
process, although it works for normal users.  The problem occurs under
kernel 1.2.13 (haven't tried 2.0.x), both with procps-0.99-3 and with the
new package procps-1.01a-1.

The solution was in the ps(1) man page: to remove /etc/psdevtab (which had
permissions 0000!) and subsequently run ps as root to recreate it. Perhaps
this file should be recreated when the package is installed? 

Carlos Fonseca