Re: Re[2]: kernel patches

2001-03-11 Thread Berend De Schouwer
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 [EMAIL PROTECTED]
| with a subject of "unsubscribe". Trouble? Contact
| [EMAIL PROTECTED]
| 
Kind regards, 
Berend  

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berend De Schouwer, +27-11-712-1435, UCS



Re: Re[2]: kernel patches

2001-03-11 Thread Berend De Schouwer

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 [EMAIL PROTECTED]
| with a subject of "unsubscribe". Trouble? Contact
| [EMAIL PROTECTED]
| 
Kind regards, 
Berend  

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berend De Schouwer, +27-11-712-1435, UCS


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Re[2]: kernel patches

2001-03-09 Thread MaD dUCK
also sprach Kevin (on Fri, 09 Mar 2001 04:05:17PM -0700):
> 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?

well, afaik w and who are two separate programs.
it appears that who uses utmp information whereas w collects its
information from the /proc filesystem.

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
"declared guilty...
 of displaying feelings
 of an almost human nature."
 -- roger waters, 1979



Re: Re[2]: kernel patches

2001-03-09 Thread Uriah Welcome
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..
-- 
- 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



Re: Re[2]: kernel patches

2001-03-09 Thread MaD dUCK

also sprach Kevin (on Fri, 09 Mar 2001 04:05:17PM -0700):
> 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?

well, afaik w and who are two separate programs.
it appears that who uses utmp information whereas w collects its
information from the /proc filesystem.

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
-- 
"declared guilty...
 of displaying feelings
 of an almost human nature."
 -- roger waters, 1979


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Re[2]: kernel patches

2001-03-09 Thread Uriah Welcome

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..
-- 
- 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 [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]