>> Edit article
이름
제목
패스워드
laystory님께서 도와주셔서 좀더 됐는데 또 막히네요..^^ 문제는 텔넷이나 ssh에서 일반유저가 처음 접속했을때 암호를 묻게 하고 싶은데 잘안됩니다. 검색해서 찾아보니 관련 내용이 있어서 그대로 따라했는데 안되네요. /etc/shells 목록에 다음을 넣고 /usr/bin/passwd 사용자 쉘로 /usr/bin/passwd를 지정한다. 다음과 같다. username:x:1000:1000::/home/username:/usr/bin/passwd 사용자가 서버에 텔넷을 걸면, 사용자명과 암호를 묻고서, 암호를 바꾸도록 기다릴 것이다. 암호를 바꾸거나 그냥 나오면 접속이 끝난다. 다음 내용은 예시이다. Trying 1.2.3.4… Connected to localhost. Escape character is '^]'. Red Hat Linux release 5.2 (Apollo) Kernel 2.2.5 on an i586 login: tester Password: Changing password for tester (current) UNIX password: New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully Connection closed by foreign host. 이것이 제가 원하는 딱 그 화면입니다.^^ 근데 passwd: Authentication token manipulation error 라고 나옵니다. 새로 설치한후 shadow나 passwd 파일은 변경준건없습니다. 이것땜에 pam 인증에 대해 좀 읽어보고 몇가지 테스트해봤는데 위의 메세지를 해결하진 못했습니다.^^;;--이 곳에 서명을 적어주십시오. 치과가야쥐~
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved