LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   command who in SuSe Linux server 10 (https://www.linuxquestions.org/questions/linux-general-1/command-who-in-suse-linux-server-10-a-676500/)

mgonzalo 10-15-2008 09:17 AM

command who in SuSe Linux server 10
 
Hi, I have 2 machines HP ProLiant DL380 G5 and I've installed the OS SuSe Linux server 10
On both machines if I make a "uname-a" gives me the following:
M-linux03 Linux 2.6.16.46-0.12-bigsmp # 1 SMP Thu May 17 14:00:09 UTC 2007 i686 i686 i386 GNU / Linux

But when it comes to execute the command "who" in the machine linux01 gives me the following:

oper pts / 1 Oct 15 07:36 (m-lin. *****. s)
dsof pts / 2 Oct 15 08:37 (m-rsm. *****. s)
dsof pts / 3 Oct 15 08:45 (m-rsm. *****. s)
oper pts / 4 Oct 15 15:19 (m-mgl. *****. s)

and the machine gives me linux02:

root: 0 Oct 2 17:06

I have tried to see that I have a different machine and another, and I can not see it

Do you like it you can tell me who that leaves as the machine linux01?

Thank you

paranoidx 10-15-2008 10:58 PM

im not quiet sure what ur question is.

the "who" commands reports who is login on that box ONLY.

so Linux01
Quote:

oper pts / 1 Oct 15 07:36 (m-lin. *****. s)
dsof pts / 2 Oct 15 08:37 (m-rsm. *****. s)
dsof pts / 3 Oct 15 08:45 (m-rsm. *****. s)
oper pts / 4 Oct 15 15:19 (m-mgl. *****. s)
2 users has login i.e. oper/dsof
Linux02
Quote:

root: 0 Oct 2 17:06
1 user has login i.e. root

Quote:

I have tried to see that I have a different machine and another, and I can not see it

Do you like it you can tell me who that leaves as the machine linux01?
you need a better translator. if my guess is not wrong, you want to see who is login from Linux02 in Linux01? if so, you need to script your own or find a package that does that cause "who" does not report other boxes login.

if you want to see from Linux02 who is login on Linux01, i would simply "ssh oper@Linux01 who" from Linux02.


All times are GMT -5. The time now is 06:23 AM.