06-08-2011
The "fwtmp" utility displays the fields from "wtmp" complete with the year.
This User Gave Thanks to methyl For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Friends ,
With "last root | head -1 " command , we can find the last loging date and month . But i want to find last login year.
Help me if u have any idea regarding this issue.
Thanks
AVklinux (3 Replies)
Discussion started by: avklinux
3 Replies
2. HP-UX
Thanks
AVKlinux (4 Replies)
Discussion started by: avklinux
4 Replies
3. Solaris
Thanks
AVKlinux (10 Replies)
Discussion started by: avklinux
10 Replies
4. UNIX for Dummies Questions & Answers
As a root user i switch to a different user say "oratest". I would like to know the details like at what time did the switch ( su - oratest ) happen.
Are there any logs to check this
Thanks. (4 Replies)
Discussion started by: jjoy
4 Replies
5. AIX
Friends!!
I need your help. Where can i change/set the last login details as below in aix 5.3. And how to do that to get the results as exactly below
login as: mbpops
mbpops@xx.28.3.24's password:
Last unsuccessful login: Mon Nov 22 14:32:27 GMT 2010 on ssh from 10.132.5.129
Last login:... (17 Replies)
Discussion started by: kmvinay
17 Replies
6. Shell Programming and Scripting
'last' command gives me date and time the user has logged in last. But how to get the date with year? (8 Replies)
Discussion started by: Soham
8 Replies
7. Shell Programming and Scripting
Hi,
How i can pass the login details to the URL which is password protected with the htaccess using command line or script (perl,or shell,or php).
Any help or hint appreciated.
Thanks,
SJ (4 Replies)
Discussion started by: SilvesterJ
4 Replies
8. Solaris
Hi All
I have a requirement in which during sudo logging, I must get the year details also in sudo log file. As below output is not mentioning the year due to this I will not able to idenfiy that this log belong to 2012 or 2011 or 2010
Dec 12 11:30:21 XYZ sudo: user1 : TTY=pts/5 ;... (4 Replies)
Discussion started by: sb200
4 Replies
9. Post Here to Contact Site Administrators and Moderators
Dear Administrators!
I would like to change my username for this forum, would it be possible?
Regards
FR (1 Reply)
Discussion started by: fretagi
1 Replies
10. UNIX for Advanced & Expert Users
Most of my Solaris 10 user accounts are generally 10 characters long. When I run the 'last' command the report only shows the first 8 characters so the information is not very helpful. How can I report the full 10 character user account. (1 Reply)
Discussion started by: PPOWER55
1 Replies
ac(8) System Manager's Manual ac(8)
Name
ac - login accounting
Syntax
/etc/ac [ -w wtmp ] [ -p ] [ -d ] [ people ] ...
Description
The command produces a printout giving connect time for each user who has logged in during the life of the current wtmp file. A total is
also produced.
The accounting file is maintained by and Neither of these programs creates the file, so if it does not exist no connect-time accounting is
done. To start accounting, it should be created with length 0. On the other hand if the file is left undisturbed it will grow without
bound, so periodically any information desired should be collected and the file truncated.
Options
-w Specifies an alternate wtmp file.
-p Prints individual totals; without this option, only totals are printed.
-d Causes a printout for each midnight to midnight period. Any people will limit the printout to only the specified login names. If
no wtmp file is given, is used.
Files
See Also
last(1), lastcomm(1), login(1), utmp(5), init(8), sa(8)
ac(8)