원문 : 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 109078
211 SAS RAID controller for AIX [1] file ischo 2017.02.04 17128
210 AIX 환경에서 TCP dump 뜨기 [1] ischo 2014.12.05 29406
209 AIX에서 시스템의 hostname 변경하기 ischo 2013.04.30 45306
208 kill 과 함께 쓰이는 SIGNAL NUMBER 들 ischo 2013.02.16 28914
207 AIX에서 process 당 thead 개수 (maximum number of thread per process) ischo 2013.02.06 35452
206 AIX 6.1에 Apache 설치하기 ischo 2013.02.01 48839
205 AIX 시스템상의 core수 확인하기 ischo 2013.01.10 102220
204 named 1분 간격으로 검사하여 살리는 스크립트 [1] ischo 2012.12.26 28314
203 AIX 튜닝포인트 - CPU,MEM,VG + FAQ [1] ischo 2012.11.20 41777
202 lsof 설치 없이 해당 포트를 열고 있는 프로세스 확인하는 법 ischo 2012.10.17 58341
201 p시리즈 장비 OP패널에서 강제 shutdown 방법 조인상 2012.10.13 29332
200 [IBM] x시리즈 M3,M4 블레이드센터 제원 조인상 2012.10.06 25802
199 IBM System x Sales Tech and Sales School 조인상 2012.08.09 27448
198 Power6 System Reference Code 조인상 2012.08.09 26423
197 IBM x3650 M3 Service Guide file 조인상 2012.08.04 28482
196 펌웨어 업그레이드 for old p5 series Servers(SF240-417) file ischo 2012.07.26 28176
195 디버그툴 dbx 사용법 file 조인상 2012.07.26 33932
194 IBM AIX Version 6.1 Differences Guide file 조인상 2012.07.26 44187
193 IBM AIX Version 7.1 Differences Guide file 조인상 2012.07.26 34743
192 p시리즈 펌웨어 업데이트 방법 조인상 2012.07.20 35082
서버에 요청 중입니다. 잠시만 기다려 주십시오...