패스워드 변경된 시간이나 타임을 로그로 쌓아주는거 없나요?
2010.05.11 11:13
원문 : 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);
}
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>패스워드 변경된 시간이나 타임을 로그로 쌓아주는거 없나요?
>패스워드가 변경된 시간은 바로 직전에 변경된 타임을 확인할 수 있고요.
>로그로 남는것은 없는것으로 압니다.
>
>직전 변경된 시간은
>
>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);
}
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
공지 | [공지] 게시자료 열람자유. 불펌금지입니다. | 조인상 | 2010.12.07 | 109082 |
211 | C 컴파일러 라이센스 입력방법 | 조인상 | 2010.05.09 | 13762 |
210 |
케이블 라벨링 탭
![]() | 조인상 | 2010.05.11 | 20457 |
209 | AIX 5L에 아파치(리눅스rpm) 패키지 설치하기 | 조인상 | 2010.05.11 | 16555 |
208 | IBM information center URL | 조인상 | 2010.05.11 | 17275 |
207 | [AIX교육] AIX의 백업관련 커맨드 | 조인상 | 2010.05.11 | 27192 |
206 | DEVICE 관리 | 조인상 | 2010.05.11 | 24762 |
205 | SMIT Fast Paths | 조인상 | 2010.05.11 | 19053 |
204 | mksysb & savevg &alt_disk_install | 조인상 | 2010.05.11 | 17501 |
203 | IBM MP(fix) 설치하기 | 조인상 | 2010.05.11 | 27044 |
202 |
IBM pSeries 장비에 시리얼(HMC) 연결하기.
![]() | 조인상 | 2010.05.11 | 23750 |
201 | AIX에서 설치된 OS의 커널비트수 확인 | 조인상 | 2010.05.11 | 24379 |
200 | 로그인 다수 실패해서 로그인이 안될때 | 조인상 | 2010.05.11 | 13743 |
199 | AIX 시스템 명령(cpu, memory, disk) | 조인상 | 2010.05.11 | 22244 |
198 | Backup OS Disk만들기(alter disk 백업 방법) | 조인상 | 2010.05.11 | 28471 |
197 | [AIX] NFS service | 조인상 | 2010.05.11 | 20477 |
196 | NFS 마운트 안될때 | 조인상 | 2010.05.11 | 16005 |
195 | errpt 내용 삭제하는 법 | 조인상 | 2010.05.11 | 17656 |
194 | dump device 설정 | 조인상 | 2010.05.11 | 14999 |
193 | NFS를 이용한 백업스크립트 | 조인상 | 2010.05.11 | 14753 |
192 | 시간 동기화시키기 | 조인상 | 2010.05.11 | 13994 |