Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th April 2004, 10:46 PM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
Quick commands to find out user info.

I thought I would share some of my commonly used commands for finding out user information:

who Shows a listing of currently logged-in users. This command reads /var/log/utmp.
w Shows who is logged on and what they are doing.
last Shows a list of last logged-in users, including login time, logout time etc. This command reads /var/log/wtmp.
lastb Same as last, except that by default it shows a log of the file /var/log/btmp, which contains all the bad login attempts.
lastlog This command reports data maintained in /var/log/lastlog, which is a record of the last time a user logged in.
ac Prints out the connect time in hours on a per-user basis or daily basis etc. This command reads /var/log/wtmp.
dump-utmp Converts the raw data from /var/run/utmp or /var/log/wtmp into ASCII-parsable format.
ftpwho The ftpwho program utility displays all active ftp users, and their current process information on the system.
The output of the command is in the format of the "/bin/ps" command.
ftpcount The ftpcount program utility, a simplified version of ftpwho, shows only the current number of users logged in to
the system, and the maximum number of users allowed.


Please add more.
__________________
http://blog.suretecsystems.com
Reply With Quote
  #2  
Old 4th May 2004, 01:37 AM
Bana's Avatar
Bana Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Austin, Texas
Age: 26
Posts: 581
Does anyone know the commands to send messages to other logged in users? I have heard something about this but don't know which ones to use.
__________________
http://coolhands.blogspot.com/
binarybana AT gmail.com
Reply With Quote
  #3  
Old 4th May 2004, 03:48 AM
LordMorgul's Avatar
LordMorgul Offline
Registered User
 
Join Date: Mar 2004
Location: Sourthern California, USA
Posts: 503
The 'talk' program and similar should allow direct chatting between users, but I think what you are referring to (and what I use most often) is 'write'.

Code:
write billybob pts/11
typing a message until I push ctrl-c
Message is sent directly to the user's terminal. This can be disallowed by the user with the mesg command... root however might not obey, I'm not sure.
__________________
- Andrew <lordmorgul@gmail.com>

No one now has, and no one will ever again get, the big picture. - Daniel Geer
Reply With Quote
  #4  
Old 4th May 2004, 08:47 AM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
I think the one you mean is wall:

NAME
wall -- send a message to everybody’s terminal.

SYNOPSIS
wall [-n] [ message ]

DESCRIPTION
Wall sends a message to everybody logged in with their mesg(1) permis-
sion set to yes. The message can be given as an argument to wall, or
it can be sent to wall’s standard input. When using the standard input
from a terminal, the message should be terminated with the EOF key
(usually Control-D).

The length of the message is limited to 20 lines. For every invocation
of wall a notification will be written to syslog, with facility
LOG_USER and level LOG_INFO.
__________________
http://blog.suretecsystems.com
Reply With Quote
  #5  
Old 4th May 2004, 09:08 AM
ghaefb's Avatar
ghaefb Offline
Retired Community Manager
 
Join Date: Apr 2004
Location: Slovenia
Age: 30
Posts: 1,713
What about finger and id (whoami) ...
__________________
_ghaefb


blog & sysinfo
Reply With Quote
  #6  
Old 4th May 2004, 11:30 AM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
Not many people fun finger servers anymore, but yeah, if you need to find out someones uid, then id is the one.
__________________
http://blog.suretecsystems.com
Reply With Quote
Reply

Tags
commands, info, quick, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find out wireless info ( Im connected ) lynxus Servers & Networking 4 20th February 2009 09:16 AM
Iwhere can i find the fedora equivalent of debian commands? Jongi Servers & Networking 4 13th April 2007 11:44 PM
where can you find info when the kernel is upgraded extendedping Using Fedora 2 14th February 2007 06:53 PM
How do I find hardrive info?gb used coffey77 Using Fedora 2 27th June 2006 03:40 AM
Where Can I Find More Info About the Configuration/Preference of GMplayer? dealmaker Using Fedora 4 3rd November 2005 05:08 PM


Current GMT-time: 13:36 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat