Re: Re[2]: 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
| that
| 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.
sausage:/home/bds> w
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
sausage:/home/bds> who
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 debian-security-request@lists.debian.org
| with a subject of "unsubscribe". Trouble? Contact
| listmaster@lists.debian.org
|
Kind regards,
Berend
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berend De Schouwer, +27-11-712-1435, UCS
Reply to: