[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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




Reply to: