원문 : 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 109053
151 AIX 6 VM관련 OS parameter secret 조인상 2010.08.26 1
150 AIX 6.1 aio 설정법 조인상 2010.07.06 24181
149 IBM x시리즈 드라이버 업데이트 팩 file 조인상 2010.07.01 15722
148 IBM p시리즈 ASM/시리얼접속방법 조인상 2010.07.01 30871
147 IBM xSeries 펌웨어 업데이트를 위한 BoMC(Bootable Media Center) 사용법 file 조인상 2010.06.29 31448
146 Optimizing AIX 5L performance - AIX 5L시리즈 메모리 튜닝 조인상 2010.06.22 29307
145 ODM에 남아있는 Default Gateway 정보 삭제하기 조인상 2010.06.21 21112
144 Command is Respawning Too Rapidly. 3A30359F 조인상 2010.06.17 18546
143 pSeriese 온도 확인 방법 조인상 2010.06.17 20936
142 LPAR의 Memory Overhead (Hypervisor Memory) 사용량에 대하여 secret 조인상 2010.06.11 0
141 32KB 이상 파일 복사시 out of memory 에러 발생에 대한 복구(indirect segment 문제) 조인상 2010.06.10 19539
140 AIX에서 dump 강제로 받는 방법 file 조인상 2010.06.09 19341
139 AIX 환경에서 NFS port번호 range 지정방법 조인상 2010.06.04 37810
138 IBM 문서용 폰트 file 조인상 2010.06.04 16704
137 000-104 information secret 조인상 2010.06.02 1
136 신규시험 정보 Test 000-104: AIX 6.1 Administration 조인상 2010.06.02 24342
135 서버측HMC port ip확인하기 [3] 조인상 2010.05.14 27660
134 [매뉴얼] IBM p시리즈 머신에 레드햇리눅스 설치하기 file 조인상 2010.05.12 18254
133 BC & x시리즈 전력량 계산기 file 조인상 2010.05.11 17844
132 c 컴파일러 설치하기 조인상 2010.05.11 23215
서버에 요청 중입니다. 잠시만 기다려 주십시오...