03-05-2008
login reports on AIX43
Hi,
There's a report the previous AIX admin used to do and I couldn't find it on the AIX /etc/security. I think this customized.
Last update report (sample):
USER NAME IN REAL LIFE DATE LAST CHANGED PASSWORD
---- ----------------- --------------------------
adm - Password has never changed 0000
bin - Password has never changed 0000
daemon - Password has never changed 0000
guest - Password has never changed 0000
invscout - Password has never changed 0000
ilp ilp-remote print capability Wed Sep 30 10:16:18 1998
admsoft admin applic software Mon Nov 14 16:05:48 2005
admthird 3rd party software security Mon Nov 14 16:06:05 2005
admasec internal application security Mon Nov 14 16:06:26 2005
Here's lastlog report (sample):
ilp Mon Feb 22 09:39:48 1999 Tue Jul 28 08:19:13 1998 0 ladaf /dev/pts/137 /dev/pts/71 ilp-remote print cap
admthird Wed Aug 1 14:23:47 2001 Mon Jun 4 17:19:19 2001 0 190.1.1.74 /dev/pts/21 /dev/pts/3 3rd party software s
admsoft Thu Nov 8 18:02:14 2001 Mon Jun 18 19:35:14 2001 0 190.1.1.161 /dev/pts/1 /dev/pts/10 admin applic softwar
Is this customized because I could find something similar with lastlog on etc/security/lastlog? The only problem is the date/time is coded, I don't understand this.
Where can I find this report on AIX43?
Thanks in advance,
itik
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I print on an HP Laserjet 5si and HP 8000 Laserjet. We print reports in landscape and when the reports are printed the font size is too big and some of the report is cut off. Is there any other options that I could try to use to correct this. The printers are set up correctly. I just need to... (4 Replies)
Discussion started by: skammer
4 Replies
2. HP-UX
HI
I am battling to find why oracle reports dont work from the Oracle applications and work from the Command line
Finally, whern these reports error out in the Oracle apps, I see the error that the x server killed the process.
Please let me know if any one has some chi-chi sheet on the os setup... (1 Reply)
Discussion started by: schilukuri
1 Replies
3. Shell Programming and Scripting
STATUS REPORT FOR JOB: Ftp
Generated: 2007-04-26 19:38:34
Job start time=2007-04-14 13:50:21
Job end time=2007-04-14 13:50:29
Job elapsed time=00:00:08
Job status=1 (Finished OK)
The above report is application generated report.
can any provide me the script to insert the... (2 Replies)
Discussion started by: laknar
2 Replies
4. UNIX for Advanced & Expert Users
There a mismatch between df and du outputs
Both df and du reporting different output. It is confusing.
the answer that I get is that Open file descriptor is main causes of such wrong information.
For example if file is open by third party application OR by a user and same file is deleted,
both... (3 Replies)
Discussion started by: ynixon
3 Replies
5. Shell Programming and Scripting
I have a script that I need to put in some checking. It would read something like this but I need help with the exact notation:
#!/bin/bash
while true
if #process is no longer reporting as up
echo "process 1234 has fell"
exit 1 # exit script
fi
sleep 1
#end of scriptAny help greatly... (2 Replies)
Discussion started by: ajp7701
2 Replies
6. AIX
Dear Friends,
Can Any one provide me script to generate list of username with the gecos field.
(cat /etc/passwd | cut -d: -f1,5)
Please note i have to run this command from nim server and i have password less ssh access.(ssh hostname command)
and i want a file to be generated on nim... (0 Replies)
Discussion started by: vinodchauhan123
0 Replies
7. Red Hat
Hello,
I have this problem:
I have a domain which worked well until my ISP changed my ip. Since then my DNS is not working, and intodns.com reports still the old IP. The DNS remains the same.
I made changes in named.conf, in ifcfg-Auto_eth0, I flushed the cache but it;s the same thing.
What... (6 Replies)
Discussion started by: doe_ro
6 Replies
8. Shell Programming and Scripting
I want to create reports using rsyslog in linux,Can someone help me out here ? Report Format must be "Hostname" "Username" "Hostname logged from" "Date" "Time"
Regards,
Ahmed.
---------- Post updated at 05:24 PM ---------- Previous update was at 05:24 PM ----------
Linux,Shell Script (10 Replies)
Discussion started by: ahmed.vaghar
10 Replies
LEARN ABOUT HPUX
chargefee
acctsh(1M) acctsh(1M)
NAME
acctsh: chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, shutacct, startup, turnacct - shell procedures
for accounting
SYNOPSIS
login-name number
[blocks]
[files ...]
number
file
[mmdd]
file [heading]
[reason]
DESCRIPTION
Can be invoked to charge a
number of units to login-name. A record is written to to be merged with other accounting records during the night.
Should be initiated via
It periodically checks the size of If the size exceeds blocks, 1000 by default, is invoked with argument switch. If the
number of free disk blocks in the file system falls below 500, automatically turns off the collection of process accounting
records via the argument to When at least this number of blocks is restored, the accounting will be activated again. This
feature is sensitive to the frequency at which is executed, usually by
Should be invoked by
to perform the disk accounting functions. By default, it will do disk accounting on the special files in If the flag is
used, it does a slower version of disk accounting by login directory. files specifies the one or more filesystem names
where disk accounting is to be done. If files is used, disk accounting will be done on these filesystems only. If the flag
is used, files should be mount points of mounted filesystem. If omitted, they should be the special file names of mountable
filesystems.
Invoked by to update which shows the last date on which each user logged in (see runacct(1M)).
Should be invoked once each month or each accounting period.
number indicates which month or period it is. If number is not given, it defaults to the current month (01 through 12).
This default is useful if is to executed via on the first day of each month. creates summary files in and restarts summary
files in
Creates file with mode 664 and ensures that owner and group are It is called by various accounting shell procedures.
Can be used to print the session record file normally
created by (see acctcon(1M)).
Invoked by (see runacct(1M)) to format a report of the previous day's accounting data. The report resides in where mmdd is the month
and day of the report. The current daily accounting reports may be printed by typing prdaily. Previous days' accounting
reports can be printed by using the mmdd option and specifying the exact report date desired. The flag prints a report of
exceptional usage by login id for the specifed date. Previous daily reports are cleaned up and therefore inaccessible after
each invocation of The flag prints a report of exceptional resource usage by command, and can be used on current day's
accounting data only.
Can be used to format and print any total accounting
file.
Should be invoked during a system shutdown
to turn process accounting off and append a "reason" record to
Should be called by system startup scripts
to turn the accounting on whenever the system is brought up.
An interface to
(see acct(1M)) to turn process accounting or The argument turns accounting off, moves the current to the next free name in
then turns accounting back on again. (incr is a number starting with and incrementing by one for each additional file.) is
called by and thus can be run under and used to keep to a reasonable size.
FILES
holds all accounting commands listed in section(1M) of this manual
accumulator for fees
working directory
current file for per-process accounting
used if gets large, and during execution of daily accounting procedure
contains the limits for exceptional
usage by command name
contains the limits for exceptional usage by login id
summary directory, should be saved
login/logoff summary
SEE ALSO
acct(1M), acctcms(1M), acctcom(1M), acctcon(1M), acctmerg(1M), acctprc(1M), cron(1M), diskusg(1M), fwtmp(1M), runacct(1M), acct(2),
acct(4), utmp(4).
STANDARDS CONFORMANCE
acctsh(1M)