Re: Re: kernel patches
On Sat, 10 Mar 2001 01:12:46 Uriah Welcome wrote:
| On Fri, Mar 09, 2001 at 04:05:17PM -0700, Kevin wrote:
| > Then they only have to compile their own version. Openwall shows only
| > you when you run 'w' but shows everyone if you 'who'. Anyone know
| > why?
| Because 'who' just read /var/log/wtmp, where as 'w' looks at the process
| currently logged in users are running, reading /proc, which under the
| openwall patches is restricted.
| To limit 'who' you'd need a restricted /var/log/wtmp..
Would this explain the following behaviour on my Potato box (all of them),
which is not running Openwall.
3:31pm up 2:42, 2 users, load average: 0.03, 0.07, 0.24
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root tty1 - 12:49pm 25:02 1.05s 0.26s apt-get
root tty1 Mar 11 12:49
bds :0 Mar 11 15:13 (console)
ie. 'w' does not show the X user. I've tried this with xdm and gdm.
'w' does correctly show '2 users'. It just doesn't list them all.
Its not very nice :(
| - U
| "Memory is like an orgasm. It's a lot better if you don't have
| to fake it." -- Seymour Cray commenting on virtual memory
| To UNSUBSCRIBE, email to firstname.lastname@example.org
| with a subject of "unsubscribe". Trouble? Contact
Berend De Schouwer, +27-11-712-1435, UCS