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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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?? |
| |||
| 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. |
| ||||
| 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 |