03-07-2008
Quote:
Originally Posted by
zuessh
[...]we recently upgraded from AIX 5.2.9 to 5.3.6 and in the process the wtmp file was cleared out.[...]
How did you upgrade? Assumably you did not use "New and Complete Overwrite" (cause in that case you might have guessed already why wtmp dissappeared). So Migration Installation and Preservation Installation are left ... If you did a Preservation Installation you fell into the "IBM-Speak" trap
as such an installation will wipe out the whole system configuration including /var. You could spare some files from being overwritten by including them into the /etc/preserve.list (/etc/filesystems is kept as a default) but the rest ... well
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Here's a usefull perl script to trim the wtmp file,
in case it got too big, which happens sometimes, or got curropted (which also happens often).
You could learn from here how to parse the wtmp file...
but of course for just reading its content always simply use "last" like Neo said....
... (0 Replies)
Discussion started by: me2unix
0 Replies
2. News, Links, Events and Announcements
http://www.cnn.com/2003/TECH/01/07/dvd.johansen/index.html (1 Reply)
Discussion started by: Neo
1 Replies
3. Programming
Anyone have any idea on how to display the fields for each record stored in the wtmp file using C? Am I correct in thinking that the info stored in wtmp is in binary and that utmpx will be of some help? Being a beginner, I can come up with bits and pieces of what I might need in order to do the... (1 Reply)
Discussion started by: eclapton1
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Hotmail cleared my email account before I had a chance to activate it. Can a admin re-send the activation email or activate my username?
thanks (2 Replies)
Discussion started by: prkfriryce
2 Replies
5. AIX
Hello everyone
I have a problem with the file wtmp that is on /var/adm
This file was not on this directory (adm).
I try creating a new file with the correct rights (644) and owner (adm:adm)
but It doesnt work.
If I type the last command i get this
last
ora10g ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
6. AIX
In our operating procedures, if a workstation has a space problem in the /var filesystem, one of the most frequent case we were told is the size of the /var/adm/wtmp file.
Someone once told me it is dangerous to do this. Is it ?
I cannot say for certain that whomever wrote that procedure is... (2 Replies)
Discussion started by: Browser_ice
2 Replies
7. Solaris
Hi, have few meta devices which were cleared some year ago but still appear in /dev/md/rdsk.
If I create a same meta device again, it shows old timestamp of 2009yr
I tried devfsadm -C to clear unlinked links but of no use.
What am I missing ? (2 Replies)
Discussion started by: tuxian
2 Replies
8. AIX
sorry for being a noob, i am trying to find which user accessed the server at what time and there ip address at first i used who command but the output didn't contain the ip address then i used the last command which provided me with the ip of the users but when i searched i searched and found that... (1 Reply)
Discussion started by: hercules_1010
1 Replies
LEARN ABOUT DEBIAN
selinux-policy-upgrade
selinux-policy-upgrade(8) System Manager's Manual selinux-policy-upgrade(8)
NAME
selinux-policy-upgrade - upgrade the modules in the SE Linux policy database from a policy package
SYNOPSIS
selinux-policy-upgrade
DESCRIPTION
selinux-policy-upgrade this command will upgrade all policy modules (including the base modules) for to the versions that are under
/usr/share/selinux/SELINUXTYPE
SEE ALSO
selinux(8), sestatus(8), selinuxenabled(1), load_policy(8), semodule(8), postfix-nochroot(8), check-selinux-installation(8), selinux-con-
fig-enforcing(8), http://wiki.debian.org/SELinux - More about SELinux Debian install, http://etbe.coker.com.au/tag/selinux/ - Russell's SE
Linux blog posts.
AUTHOR
This program and it's man page was written by Russell Coker <russell@coker.com.au> for the Debian system (but may be used by others). Per-
mission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3.
selinux-policy-upgrade(8)