Sponsored Content
Operating Systems AIX The result of Jan 01 (1970) by last command Post 302747939 by Zack.Chiang on Monday 24th of December 2012 01:14:11 AM
Old 12-24-2012
Hi bipinajith,

Thanks for your reply, here is info your wanted.

Code:
$ uptime
  01:59PM   up 64 days,   7:36,  8 users,  load average: 2.23, 1.72, 1.72

BTW, i check the .sh_history of FSTSFIX and there is nothing weird in it.
Code:
cd .. #?1355908025#?
ls -l #?1355908026#?
ls #?1356050227#?
cd bin #?1356050233#?
ls #?1356050233#?
cd #?1356050237#?
fstsfix status #?1356050239#?
crontab -l #?1356050251#?
ls #?1356050316#?
cd log #?1356050318#?
ls #?1356050318#?
cd 4 #?1356050327#?
ls #?1356050328#?
cd #?1356050331#?
ls #?1356050332#?
cd bin #?1356050335#?
ls #?1356050335#?
...

And the crontab job works correctly. Please tell me if any infomation I can provide more, thks.
Code:
$ crontab -l
00 07 * * 1-5 /u/fstsfix/bin/fstsfix bod
#50 07 * * 1-5 /u/fstsfix/bin/fstsfix start
00 05 * * * /u/fstsfix/bin/fstsfix   stop
40 05 * * * /u/fstsfix/bin/fstsrvd   stop
45 05 * * * /u/fstsfix/bin/fstsfix   eod

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

days since 1970

How can I get the syatem to give me the days since 1970 (as seen in the shadow file)? (4 Replies)
Discussion started by: 98_1LE
4 Replies

2. IP Networking

FTP command result

Hi there! I've used the ftp command to transfert datas between two linux box. The answer of this command, was: It strange because the transfert was complete and it brings two messages, the first is successful from PORT command and the second is an error from EPRT command! So, It seems that... (1 Reply)
Discussion started by: nymus7
1 Replies

3. UNIX for Dummies Questions & Answers

Date to second since 1970

Hello, I have found a piece of code which converts seconds elapsed since 1970 for an input date. Can anyone please explain a little bit the code below: #!/bin/bash # function to reproduce UNIX time() value second() { set -- $(TZ=GMT date '+%Y %m %d') local y=$1 m=1$2 d=1$3 ((m-=103,... (0 Replies)
Discussion started by: thana
0 Replies

4. UNIX for Dummies Questions & Answers

Capturing a non-result of a command

The following pseudo-code should be clear to what I am trying to achieve: if ; then kldload linux echo 'linux_enable="YES"' >> /etc/rc.conf fi What is the proper syntax or operator for the test? Thanks in advance (5 Replies)
Discussion started by: figaro
5 Replies

5. Shell Programming and Scripting

How to use the result from a command in SED

Hi all, this is my first post so go gentle. My goal is to use SED to add data to the end of lines in a file, then send the results to standard output. However, I want to add the result of another command to the end of the lines. Basically: sed 's/$/ insert command stuff here/' file.txtHere... (1 Reply)
Discussion started by: jsmith_4242
1 Replies

6. Shell Programming and Scripting

How do i compare two dates with format Jan 01, 2012 and Jan 00 2012

I need to be able to compare dates in the format of Jan 10, 2012 and Jan 10 2012. (Notice one has a comma). Then I need to find the date that is 7 days before those dates if they are equal. How can I do this in Bash. Thank ahead (4 Replies)
Discussion started by: ojthejuice
4 Replies

7. Shell Programming and Scripting

Write Linux script to convert timestamps older than 1.1.1970 to 1.1.1980

I am having problems because some of my files have timestamps that are earlier that 1.1.1970, the Unix start of time convention. So I would like to write a script that finds all files in home folder and subfolders with timestamps earlier than 1.1.1970 and converts them to 1.1.1980. I... (3 Replies)
Discussion started by: francus
3 Replies

8. Shell Programming and Scripting

Grep result from dd command

Hi, I am running following command in a bash script for testing IO and use grep to get throughput number, but it did not work, it displayed everything: dd if=/dev/zero of=/dev/null bs=1G count=1 oflag=dsync | grep bytes | awk '{print $7}' 1+0 records in 1+0 records out 536870912 bytes... (2 Replies)
Discussion started by: hce
2 Replies

9. Shell Programming and Scripting

Grep command giving different result for different users for same command

Hello, I am running below command as root user #nodetool cfstats tests | grep "Memtable switch count" Memtable switch count: 12 Where as when I try to run same command as another user it gives different result. #su -l zabbix -s /bin/bash -c "nodetool cfstats tests | grep "Memtable switch... (10 Replies)
Discussion started by: Pushpraj
10 Replies

10. Shell Programming and Scripting

Linux find command seems to not transmit all the result to the '-exec command'

Hello. From a script, a command for a test is use : find /home/user_install -maxdepth 1 -type f -newer /tmp/000_skel_file_deb ! -newer /tmp/000_skel_file_end -name '.bashrc' -o -name '.profile' -o -name '.gtkrc-2.0' -o -name '.i18n' -o -name '.inputrc' Tha command... (3 Replies)
Discussion started by: jcdole
3 Replies
SHADOW(5)                                                  File Formats and Conversions                                                  SHADOW(5)

NAME
shadow - shadowed password file DESCRIPTION
shadow is a file which contains the password information for the system's accounts and optional aging information. This file must not be readable by regular users if password security is to be maintained. Each line of this file contains 9 fields, separated by colons (":"), in the following order: login name It must be a valid account name, which exist on the system. encrypted password Refer to crypt(3) for details on how this string is interpreted. If the password field contains some string that is not a valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in (but the user may log in the system by other means). This field may be empty, in which case no passwords are required to authenticate as the specified login name. However, some applications which read the /etc/shadow file may decide not to permit any access at all if the password field is empty. A password field which starts with an exclamation mark means that the password is locked. The remaining characters on the line represent the password field before the password was locked. date of last password change The date of the last password change, expressed as the number of days since Jan 1, 1970. The value 0 has a special meaning, which is that the user should change her password the next time she will log in the system. An empty field means that password aging features are disabled. minimum password age The minimum password age is the number of days the user will have to wait before she will be allowed to change her password again. An empty field and value 0 mean that there are no minimum password age. maximum password age The maximum password age is the number of days after which the user will have to change her password. After this number of days is elapsed, the password may still be valid. The user should be asked to change her password the next time she will log in. An empty field means that there are no maximum password age, no password warning period, and no password inactivity period (see below). If the maximum password age is lower than the minimum password age, the user cannot change her password. password warning period The number of days before a password is going to expire (see the maximum password age above) during which the user should be warned. An empty field and value 0 mean that there are no password warning period. password inactivity period The number of days after a password has expired (see the maximum password age above) during which the password should still be accepted (and the user should update her password during the next login). After expiration of the password and this expiration period is elapsed, no login is possible using the current user's password. The user should contact her administrator. An empty field means that there are no enforcement of an inactivity period. account expiration date The date of expiration of the account, expressed as the number of days since Jan 1, 1970. Note that an account expiration differs from a password expiration. In case of an account expiration, the user shall not be allowed to login. In case of a password expiration, the user is not allowed to login using her password. An empty field means that the account will never expire. The value 0 should not be used as it is interpreted as either an account with no expiration, or as an expiration on Jan 1, 1970. reserved field This field is reserved for future use. FILES
/etc/passwd User account information. /etc/shadow Secure user account information. /etc/shadow- Backup file for /etc/shadow. Note that this file is used by the tools of the shadow toolsuite, but not by all user and password management tools. SEE ALSO
chage(1), login(1), passwd(1), passwd(5), pwck(8), pwconv(8), pwunconv(8), su(1), sulogin(8). shadow-utils 4.5 01/25/2018 SHADOW(5)
All times are GMT -4. The time now is 05:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy