Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/vte-0.14.0/ drwxr-xr-x |
Viewing file: utmpwtmp.txt (1.18 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | The utmp, wtmp, and lastlog files are used to track which users are logged in, but in slightly different ways. Summary: The utmp file contains at most one entry per terminal. The wtmp file has the same format as the utmp file, but has no limit on the number of entries it contains. The lastlog file contains at most one entry per UID. When a user logs in, the entry for the terminal is set in utmp. When a user logs in, an entry is appended to wtmp. When a user logs in, the entry for the user's UID is set in lastlog. When a user logs out, the entry for the terminal is cleared from utmp. This prevents the utmp file from growing beyond a fixed size. When a user logs out, an entry is appended to wtmp. This provides a complete history of who logged in and out and when. When a user logs out, nothing happens to the lastlog. Conclusions: A terminal should always log to utmp, because it keeps track of who's using a given terminal device. A terminal should probably log to wtmp, because it correlates with utmp. A terminal should not log to lastlog, but a display manager should. References: http://netbsd.gw.com/cgi-bin/man-cgi?utmp++NetBSD-current http://www.netsys.com/sunmgr/1997-12/msg00155.html |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0123 ]-- |