Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

users not seen with "who"

Status
Not open for further replies.

visvid

Technical User
Jun 3, 2002
131
GB
Q: certain users not seen with who command, I know they are logged in via last | grep userid and ps -fuUSERID

Any ideas what is causing this ? first I thought it was because they ssh onto server ? secondly they logged on via an application using XTERM

Any suggestings where I should be looking to solve this

Cheers

visvid
 
what does w give you?

--
| Mike Nixon
| Unix Admin
|
----------------------------
 
:/var/epdm# w | wc -l
13
:/var/epdm# who | wc -l
11
and user not show , but if i do last | grep userid , says still log on
 
hello,

several things to consider :

1/ w and who have a different output; compared to who, w has 2 additionnal heading lines, therefore the count of lines with wc will always be different.

2/ ps does not show who is logged, but informations about processes, the -u flag tells under which authority a process run, it does not meany that the user is logged and active.

3/ last will show tty, pts and ftp connection, where who and w only show tty or pts connectionx (ok i'm not 100% about this one)

hope this helps, tell me if you think i'm wrong somewhere or post the command outputs which make you think some users are logged but not seen.

regards,


 
Ok I agree with above as user could issue a NO HUP and then sign out, but i still cannot work out why this is happening . Today i have 6 users logged in and 3 are not seen , I have checked almost everything, but must be missing something ?
 
hello,

howo do your users connect to the system ? with regular telnet / ftp or do they use rsh / ssh or any other kind of login program ?

regards
 
people who use openssh will not show up.

IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top