Unix Technical Forum

who (w) command on 5.2 weirdness

This is a discussion on who (w) command on 5.2 weirdness within the AIX Operating System forums, part of the Unix Operating Systems category; --> I've got 5.2 (5200-05) on a 7025-F80 seemly working well but the only user it can see logged in ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 07:20 AM
Robert Brose
 
Posts: n/a
Default who (w) command on 5.2 weirdness

I've got 5.2 (5200-05) on a 7025-F80 seemly working well but the only
user it can see logged in with the w command is the one on the serial
console.

bash-2.05b# w
11:38PM up 6:02, 1 user, load average: 0.02, 0.04, 0.04
User tty login@ idle JCPU PCPU what
root tty0 11:38PM 0 0 0 -ksh

same thing on an ssh connection (ssh user doesn't show up, just serial
console):
# w

11:38PM up 6:02, 1 user, load average: 0.02, 0.04, 0.04

User tty login@ idle JCPU PCPU what

root tty0 11:38PM 0 0 0 /usr/bin/w64

64 bit env anabled. Hmmm, perhaps it's an ssh problem??

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 07:20 AM
Darren Tucker
 
Posts: n/a
Default Re: who (w) command on 5.2 weirdness

On 2005-04-19, Robert Brose <bob@nospam.jriver.com> wrote:
> I've got 5.2 (5200-05) on a 7025-F80 seemly working well but the only
> user it can see logged in with the w command is the one on the serial
> console.

[...]
> same thing on an ssh connection (ssh user doesn't show up, just serial
> console):


If the sshd was built on AIX 4.3.x or lower then the utmp structures
are different, so sshd won't update them on 5.x. If that's the case
then you just need to recompile sshd on 5.x (or obtain one that was).

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 07:20 AM
Robert Brose
 
Posts: n/a
Default Re: who (w) command on 5.2 weirdness

Darren Tucker wrote:

> If the sshd was built on AIX 4.3.x or lower then the utmp structures
> are different, so sshd won't update them on 5.x. If that's the case
> then you just need to recompile sshd on 5.x (or obtain one that was).
>


Yup, that was it. It was the only thing I hadn't recompiled from 4.3.3
because it seemed to be working ok...

Thanks..
Bob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:28 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com