원문 : 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 108571
71 서버 TCP/IP 네트워크 성능테스트에 사용할 수 있는 명령어 조인상 2010.05.11 14296
70 default gateway odm에서 정보 삭제하는 방법 조인상 2010.05.11 14421
69 여러가지 명령어 모음 조인상 2010.05.11 16723
68 os 패치에 관하여.. 조인상 2010.05.11 15619
67 언어팩 추가 설치에 대해서... 조인상 2010.05.11 16206
66 OP 판넬의 주황색 경고등 끄기 조인상 2010.05.11 32318
65 기존 파일시스템을 다른 VG로 옮기기 조인상 2010.05.11 16856
64 solaris나 hpux 에서는 tcp 세션 clear(접속을 끊는) 시키는 명령어가 있는데 AIX는 없나요? 조인상 2010.05.11 24533
» 패스워드 변경된 시간이나 타임을 로그로 쌓아주는거 없나요? 조인상 2010.05.11 14719
62 Compiling Apache or gcc/g++ for AIX 조인상 2010.05.11 13209
61 p5 F/W level 확인 방법 조인상 2010.05.11 13041
60 Installation and Initial Configuration of the CDE 조인상 2010.05.11 20580
59 FastT600 어레이 구성방법 메뉴얼 file 조인상 2010.05.11 14069
58 p5 서버 System Attention Indicator LED 끄기 조인상 2010.05.11 19349
57 P5 전면 Display 패널에 관하여 [1] file 조인상 2010.05.11 20597
56 APM_oracle연동하기 조인상 2010.05.11 5904
55 4mm tape 이용한 tsm 구성하는 방법 조인상 2010.05.11 22359
54 Remote Tape Drive Backup 조인상 2010.05.11 14202
53 cde 로그인 문제시 조인상 2010.05.11 14582
52 telnet 관련사항.... 조인상 2010.05.11 19908
서버에 요청 중입니다. 잠시만 기다려 주십시오...