Sponsored Content
Operating Systems Linux SuSE No IP address displayed in who command Post 302615207 by in2nix4life on Thursday 29th of March 2012 09:25:12 AM
Old 03-29-2012
I haven't managed SuSE systems in centuries, but have you tried the 'lastlog' command? It may display all the information (including IP Address) that you're looking for.

Code:
lastlog | grep -v Never

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Command for showing IP Address

Hi everyone, nice forum! I need to know if there's a command that will show the IP Address of the machine you are logged into. Eg when you type hostname it returns the name of the machine, I need one that returns the IP address only. Can anyone help or suggest commands that are almost what I... (7 Replies)
Discussion started by: danhodges99
7 Replies

2. Shell Programming and Scripting

command to know the IP address

I know the hostname of the m/c which is in the network... whats d command to know the ip address associated with the hostname. (1 Reply)
Discussion started by: suri
1 Replies

3. Cybersecurity

Help Required: Command to find IP address and command executed of a user

Hi, I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this. Thanks Vishwas (2 Replies)
Discussion started by: loggedout
2 Replies

4. Shell Programming and Scripting

how grep the inet address for in ifconfig command

hi, i want to know how to grep inet address for below below is the output of ifconfig command /home/JA> ifconfig eth0 Link encap:Ethernet HWaddr 00:11:0A:5B:2E:E9 inet addr:161.239.203.18 Bcast:161.239.203.127 Mask:255.255.255.128 UP BROADCAST RUNNING... (3 Replies)
Discussion started by: mail2sant
3 Replies

5. AIX

AIX:Command to get netaddress/subnet address command in IPv4/IP6

AIX:Command to get netaddress/subnet address command in IPv4/IP6 Can anybody help us with a command to retrieve netaddress/subnet address command in IPv4/IP6 on aix machine. net/subnet address is in the format 172.16.212.0(signifies all 255 machines in an IPv4 network) (2 Replies)
Discussion started by: rookie8278
2 Replies

6. Solaris

Console - root command prompt displayed twice after hitting enter

Dear All, I hope you can help me. I have a pair of E2900's I've inherited. Both running Solaris 9. Both have LOM> consoles. The problem I'm experiencing only occurs when connected to the /dev/console tty. Whenever I hit 'Enter' for a new line, I receive two new lines: - myhost# ... (11 Replies)
Discussion started by: aleith
11 Replies

7. Shell Programming and Scripting

configure from address in mailx command

Hi, I need to configure customized from address in mailx command. Can you pls tell me the option for configuring from address. Thanks Latika (9 Replies)
Discussion started by: latika
9 Replies

8. UNIX for Dummies Questions & Answers

Customizing from address in mailx command

Currently I am using mailx command for sending mails. But the mail is sent as from userid@servername by default. Is it possible to customise the from mail address in mailx command? Thanks (2 Replies)
Discussion started by: pandeesh
2 Replies

9. OS X (Apple)

Get IP address Command.

i need to pull ip address out after this command ifconfig | grep jnc0 -1 output: BOBVILLAMAC:~ bvilla$ ifconfig | grep jnc0 -1 inet 10.16.91.1 netmask 0xffffff00 broadcast 10.16.91.255 does anyone know how to do that (1 Reply)
Discussion started by: KrazyKracker23
1 Replies

10. UNIX for Beginners Questions & Answers

Find heartbeat ip address with cllsif command

hi~~ my Os is 6.1 i want to find heartbeat ip address from below result. i think, is it en7 onto both nodes? /usr/es/sbin/cluster/utilities/cllsif Adapter Type Network Net Type Attribute Node IP Address Hardware Address Interface Name Global Name ... (2 Replies)
Discussion started by: tomato00
2 Replies
eurephiadm lastlog(7)													     eurephiadm lastlog(7)

NAME
eurephiadm-lastlog - View the eurephia lastlog SYNOPSIS
eurephiadm lastlog [-v|--verbose] [-S|--sortkeys <sort keys>] [<FILTER arguments>] DESCRIPTION
This command will query the lastlog records, which contains information about all logins done with the eurephia-auth plug-in. OPTIONS
-S | --sortkeys <sort key>[,<sort key>[,<sort key>]...] Sorting order of the report. More sort keys can be given, separated by comma. The available sort keys are: uid : User ID certid : Certificate ID ip : IP address where the client connects from vpnip : Assigned IP address on the VPN client status : eurephia connection status login : When the client logged in logout : When the client logged out username : eurephia username macaddr : MAC address of the TUN/TAP interface on the VPN client uicid : User ID/Certificate ID link ID. Related to the IDs provided by eurephiadm usercerts -v | --verbose View detailed lastlog FILTERS
The filters can help reducing the amount of data being reported. Multiple filters may be added, but they will only work as additional "AND" arguments in the query. -c | --certid <Certificate ID> Certificate ID -i | --uid <User ID> Numeric user ID -u | --username <User name> User name -I | --ip-addr <IP address> IP address of remote host -s | --login <YYYY-MM-DD> Login time -e | --logout <YYYY-MM-DD> Logout time -m | --mac-addr <TUN/TAP MAC address> MAC address of remote VPN interface of the client -a | --uicid <Access ID> User ID/Certificate ID link ID. Related to the IDs provided by eurephiadm usercerts SEE ALSO
eurephiadm(7), eurephiadm-certs(7), eurephiadm-users(7), eurephiadm-usercerts(7) AUTHOR
Copyright (C) 2008-2010 David Sommerseth <dazo@users.sourceforge.net> David Sommerseth July 2010 eurephiadm lastlog(7)
All times are GMT -4. The time now is 01:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy