03-06-2008
The lastlogon report can be run by just "last" command.
The last update of the password report, still looking on it. Can't do copy and paste (or create a script) on /etc/security/passwd because the lastupdate info is not a friendly date format. Need to find the conversion formula for it.
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 MOJAVE
passwd
PASSWD(1) BSD General Commands Manual PASSWD(1)
NAME
passwd -- modify a user's password
SYNOPSIS
passwd [-i infosystem [-l location]] [-u authname] [user]
DESCRIPTION
The passwd utility changes the user's password. If the user is not the super-user, passwd first prompts for the current password and will
not continue unless the correct password is entered.
When entering the new password, the characters entered do not echo, in order to avoid the password being seen by a passer-by. The passwd
utility prompts for the new password twice in order to detect typing errors.
The new password should be at least six characters long and not purely alphabetic. Its total length should be less than _PASSWORD_LEN (cur-
rently 128 characters), although some directory systems allow longer passwords. Numbers, upper case letters, and meta characters are encour-
aged.
Once the password has been verified, passwd communicates the new password to the directory system.
-i infosystem
This option specifies where the password update should be applied. Under Mac OS X 10.5 and later, supported directory systems are:
PAM (default) Pluggable Authentication Modules.
opendirectory
A system conforming to Open Directory APIs and supporting updates (including LDAP, etc). If no -l option is specified, the
search node is used.
file The local flat-files (included for legacy configurations).
nis A remote NIS server containing the user's password.
-l location
This option causes the password to be updated in the given location of the chosen directory system.
for file,
location may be a file name (/etc/master.passwd is the default)
for nis,
location may be a NIS domainname
for opendirectory,
location may be a directory node name
for PAM,
location is not used
-u authname
This option specifies the user name to use when authenticating to the directory node.
user This optional argument specifies the user account whose password will be changed. This account's current password may be required,
even when run as the super-user, depending on the directory system.
FILES
/etc/master.passwd The user database
/etc/passwd A Version 7 format password file
/etc/passwd.XXXXXX Temporary copy of the password file
SEE ALSO
chpass(1), login(1), dscl(1), passwd(5), pwd_mkdb(8), vipw(8)
Robert Morris and Ken Thompson, UNIX password security.
HISTORY
A passwd command appeared in Version 6 AT&T UNIX.
Mac OS X August 18, 2008 Mac OS X