2008. 1. 5. 20:14 Unix

NIS+에서 주의사항

NIS+에서 주의사항

/etc/passwd 파일을 rebuild하기 위해서는 다음 명령을 사용하라.

    # nisaddent -rv -f /etc/passwd passwd

그러나 위의 명령어를 실행한다면 다음 명령을 shadow 파일에 대해서도
실행해야 한다.

    # nisaddent -mv -f /etc/shadow shadow

/etc/shadow 파일에 대해 "nisaddent -rv -f" 명령을 사용하지 말아라.
이 명령은 복제 서버를 혼동하고 시스템의 모든 사용자에 대해 lock을  걸 것이다.

********************************<원문>********************************
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

                             UNIX GURU UNIVERSE
                                UNIX HOT TIP

                       Unix Tip 2528 - January  5, 2008

                   http://www.ugu.com/sui/ugu/show?tip.today

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

BE CAREFUL WITH NIS+

To rebuild your /etc/passwd file use:
    nisaddent -rv -f /etc/passwd passwd

HOWEVER, if you perform the above command
you must perform the following command on
the shadow file:
    nisaddent -mv -f /etc/shadow shadow

DO NOT USE the nisaddent -rv -f command on
the /etc/shadow file, this command will confuse
replica servers and lock everyone off of a system.
반응형
Posted by She쥐포s

블로그 이미지
She쥐포s
Yesterday
Today
Total

달력

 « |  » 2024.4
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

최근에 올라온 글

최근에 달린 댓글

글 보관함