9 More Discussions You Might Find Interesting
1. 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
2. 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
3. Shell Programming and Scripting
I have searched the forums but have not mangaed to quite find what im looking for. I have used to /etc/passwd command to present me a list of all users the who command to present all users currently logged on, but what i want to know is what command can i use to display users that are registered... (12 Replies)
Discussion started by: warlock129
12 Replies
4. 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
5. 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
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. 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
8. Solaris
Help!! I cannot log in. Last command I entered was set REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE. Since rebooting the server I am unable to bring up the OS bebcause 'root' is gone and I am guessing all other users' files. If anyone knows a back door way into server so I can rebuild passwd file I'd... (1 Reply)
Discussion started by: mayewil
1 Replies
9. UNIX for Dummies Questions & Answers
being ordinary user (not having any administrative rights) can avail myself a facility to know who logged and logged out with their timings get popped onto my terminal as if it get echo 'ed... (3 Replies)
Discussion started by: vkandati
3 Replies