03-09-2005
Talk to your system administrator about turning on accounting and give you the rights to look at it. Then you should be able to do your job as far as security. I've never seen anyone in security get information onto their screen as far as who is logged in and for how long every minute of the day. They normally scan the reports daily instead.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can i check to see if a user is logged on to the network? (1 Reply)
Discussion started by: provo
1 Replies
2. AIX
Hi,
We have had a situation where our informix cron had an entry changed, we rubn a checkscript that showed the changed at 23:50 however when the script was due to run on the new schedule 00:00 it didnt start and investigating the crontab the entry was removed?
any idea's where I can find... (4 Replies)
Discussion started by: chlawren
4 Replies
3. Shell Programming and Scripting
Hi
how can I know the details of when valid system users last logged on?
thanks (1 Reply)
Discussion started by: nokia1100
1 Replies
4. Shell Programming and Scripting
Working in AIX (so no date -d)
How can i display all the users who have not logged in for more than 40 days?
A small quick script would be usefull, my scripts are always taking to long to execute, even before they are finished.
Many thanks! (5 Replies)
Discussion started by: ughosting
5 Replies
5. Post Here to Contact Site Administrators and Moderators
how to find out users who logged out within 5 minutes (1 Reply)
Discussion started by: roshni
1 Replies
6. UNIX for Advanced & Expert Users
Hi all,
Say my login user id is "t007" and I login into the unix server first using my id and password and then I used to use "su" command to switch the user using root user id and password. Now, how the third person will come to know who has logged in as a first user ?
As:
Login: t007... (2 Replies)
Discussion started by: varungupta
2 Replies
7. Programming
I have wrote a service with c++ which is always run and now I want to get with it the exact time in that the user log in or log out and then run a script. but the problem is that how could i find that the user logged in or logged out with out checking something frequently?
thanks (9 Replies)
Discussion started by: mrhosseini
9 Replies
8. Shell Programming and Scripting
I have a situation where I have to capture information of all users who log out, along with the terminal info(tty command).
For example, I may have logged in with /dev/pts/2 as well as /dev/pts4.
Now, when I log out of the session with /dev/pts/2, I need that to be sent in an email to a... (1 Reply)
Discussion started by: ggayathri
1 Replies
9. Shell Programming and Scripting
Hi friends
I want to get a list of users who have logged in before 10 'o clock in the morning on a given date .
I tried with who and last commands but last gives only the last login time
How do i find who logged before 10 'o clock
Thanks (3 Replies)
Discussion started by: ultimatix
3 Replies
10. Shell Programming and Scripting
hi!
How can I find into:
/var/log/messages.4
/var/log/messages.3
/var/log/messages.2
/var/log/messages.1
/var/log/messages
The last user do a login? (for example user1)
My idea is to search by the pattern "Accepted password for" buy I necessary search into all files first and in the... (2 Replies)
Discussion started by: guif
2 Replies
LEARN ABOUT FREEBSD
comsat
COMSAT(8) BSD System Manager's Manual COMSAT(8)
NAME
comsat -- biff server
SYNOPSIS
comsat
DESCRIPTION
The comsat utility is the server process which receives reports of incoming mail and notifies users if they have requested this service. The
comsat utility receives messages on a datagram port associated with the ``biff'' service specification (see services(5) and inetd(8)). The
one line messages are of the form:
user@mailbox-offset[:mailbox-name]
If the user specified is logged in to the system and the associated terminal has the owner execute bit turned on (by a ``biff y''), the
offset is used as a seek offset into the appropriate mailbox file and the first 7 lines or 560 characters of the message are printed on the
user's terminal. Lines which appear to be part of the message header other than the ``From'', ``To'', ``Date'', or ``Subject'' lines are not
included in the displayed message.
If the user specified is logged in to the system and the associated terminal has the group execute bit turned on (by a ``biff b''), two bell
characters (ASCII 07) are printed on the user's terminal.
If mailbox-name omitted, standard mailbox assumed.
FILES
/var/run/utx.active
to find out who is logged on and on what terminals
/var/mail/user standard mailbox
SEE ALSO
biff(1), inetd(8)
HISTORY
The comsat utility appeared in 4.2BSD.
BUGS
The message header filtering is prone to error. The density of the information presented is near the theoretical minimum.
Users should be notified of mail which arrives on other machines than the one to which they are currently logged in.
The notification should appear in a separate window so it does not mess up the screen.
BSD
January 21, 2010 BSD