원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


>>패스워드  변경된 시간이나 타임을 로그로 쌓아주는거 없나요?

>패스워드가 변경된 시간은 바로 직전에 변경된 타임을 확인할 수 있고요.
>로그로 남는것은 없는것으로 압니다.
>
>직전 변경된 시간은
>
>cat /etc/security/passwd 하셔서 해당 유저의  lastupdate로 확인하시면 됩니다.
>
>cics:
>        password = YPtO4K39L2Ia.
>        lastupdate = 956124518
>        flags =
>
>
>lastupdate 다음에 오는 수는 초(second)로 1970.1.1부터 현재 시간까지를 초로 환산한 수치입니다.

/etc/security/passwd  File
--------------------------
- http://publib16.boulder.ibm.com/doc_link/en_US/a_doc_lib/files/aixfiles/passwd_security.htm#a1219924

lastupdate 다음에 오는 수를 Date로 바꾸는 것은 아래의 freeware Windows 프로그램으로 가능합니다.
- http://www.snapfiles.com/get/unixtimestamp.html

C program to convert UNIX time into standard date formats
-------------------------------------------------------
If you compile this as ptime, then you get the human readable info as:
UNIX> ptime  859956093
Tue Apr  1 23:41:33 1997

/*
* ptime.c
*
* mhpower@shamash.org, 21 October 1997
*
* Prints a human-readable representation of a Unix time value specified on the command line.
* If no value is specified, the current time is used.
*/
#include <stdio.h>
#include <time.h>
#include <sys/types.h>

main(argc, argv)
  int argc;
  char *argv[];
{
  time_t t;

  t = (argc == 2) ? atoi(argv[1]) : time(0);
  if (argc > 2)
    puts("usage: ptime [integer_time_value]");
  else
    fputs(ctime(&t), stdout);
}
번호 제목 글쓴이 날짜 조회 수
공지 [공지] 게시자료 열람자유. 불펌금지입니다. 조인상 2010.12.07 108784
71 32KB 이상 파일 복사시 out of memory 에러 발생에 대한 복구(indirect segment 문제) 조인상 2010.06.10 19509
70 LPAR의 Memory Overhead (Hypervisor Memory) 사용량에 대하여 secret 조인상 2010.06.11 0
69 pSeriese 온도 확인 방법 조인상 2010.06.17 20900
68 Command is Respawning Too Rapidly. 3A30359F 조인상 2010.06.17 18523
67 ODM에 남아있는 Default Gateway 정보 삭제하기 조인상 2010.06.21 21107
66 Optimizing AIX 5L performance - AIX 5L시리즈 메모리 튜닝 조인상 2010.06.22 29276
65 IBM xSeries 펌웨어 업데이트를 위한 BoMC(Bootable Media Center) 사용법 file 조인상 2010.06.29 31420
64 IBM p시리즈 ASM/시리얼접속방법 조인상 2010.07.01 30815
63 IBM x시리즈 드라이버 업데이트 팩 file 조인상 2010.07.01 15711
62 AIX 6.1 aio 설정법 조인상 2010.07.06 24149
61 AIX 6 VM관련 OS parameter secret 조인상 2010.08.26 1
60 date 명령어에서의 형식 옵션 사용 조인상 2010.09.14 22724
59 IBM i v7.1 overview file 조인상 2010.09.28 15301
58 IBM i 7 제품 라인업 및 positioning 교육자료 secret 조인상 2010.09.28 0
57 pSeries HMC backup file 조인상 2010.09.29 16669
56 IBM Blade Education WorkBook secret 조인상 2010.11.02 1
55 Power5 Hardware Information Reference Code file 조인상 2010.11.10 14164
54 p시리즈 일반적인 점검방법 조인상 2010.11.17 30959
53 IBM 랙 정보 file 조인상 2010.11.17 16240
52 교육자료 - 4Q e-config Session secret 조인상 2010.11.17 0
서버에 요청 중입니다. 잠시만 기다려 주십시오...