원문 : 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 topas 에 대하여 조인상 2010.05.11 22897
70 c 컴파일러 설치하기 조인상 2010.05.11 23195
69 보안점검용 스크립트 - AIX,Linux,HP-UX,Solaris 조인상 2011.01.03 23295
68 IBM pSeries 장비에 시리얼(HMC) 연결하기. file 조인상 2010.05.11 23705
67 AIX 6.1 aio 설정법 조인상 2010.07.06 24149
66 각종 많이 쓰이는 어플리케이션 서비스 관련 포트번호 조인상 2011.07.21 24256
65 신규시험 정보 Test 000-104: AIX 6.1 Administration 조인상 2010.06.02 24288
64 미러된 rootvg를 alt_disk_install 로 복제하기 [1] 조인상 2011.06.29 24308
63 AIX에서 설치된 OS의 커널비트수 확인 조인상 2010.05.11 24338
62 solaris나 hpux 에서는 tcp 세션 clear(접속을 끊는) 시키는 명령어가 있는데 AIX는 없나요? 조인상 2010.05.11 24533
61 AIX 5.2 DNS setting 조인상 2010.05.11 24589
60 C/C++ 5.0, 6.0 설치하기 조인상 2010.05.11 24594
59 DEVICE 관리 조인상 2010.05.11 24742
58 IBM Technical Expert 시리즈 자격증 로드맵 file 조인상 2011.02.23 25075
57 xSeries 제원 2012_03 ~ 2012-06 [1] 조인상 2012.06.18 25120
56 AIX OS기본설치 및 기초환경설정 방법 [4] file 조인상 2010.05.11 25266
55 p570 관련자료 file 조인상 2010.05.11 25347
54 [IBM] x시리즈 M3,M4 블레이드센터 제원 조인상 2012.10.06 25774
53 cpu clock 확인하는 방법 조인상 2010.05.11 25779
52 아답터 종류 및 슬롯위치 확인방법 조인상 2010.05.11 25891
서버에 요청 중입니다. 잠시만 기다려 주십시오...