diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-02-28 11:38:09 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-02-28 11:38:09 +0800 |
commit | f0c191c96fa0036a7af7d54681f06e294fe028c8 (patch) | |
tree | d5a33dc9a91d73a8fb9a3fbdbdc25ed565bea356 | |
parent | 5115a2d27d53aa9e91b229aa4defdd2e63565712 (diff) | |
download | pttbbs-f0c191c96fa0036a7af7d54681f06e294fe028c8.tar pttbbs-f0c191c96fa0036a7af7d54681f06e294fe028c8.tar.gz pttbbs-f0c191c96fa0036a7af7d54681f06e294fe028c8.tar.bz2 pttbbs-f0c191c96fa0036a7af7d54681f06e294fe028c8.tar.lz pttbbs-f0c191c96fa0036a7af7d54681f06e294fe028c8.tar.xz pttbbs-f0c191c96fa0036a7af7d54681f06e294fe028c8.tar.zst pttbbs-f0c191c96fa0036a7af7d54681f06e294fe028c8.zip |
add no password sshd
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1570 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | docs/FAQ | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -9,6 +9,8 @@ $Id$ 6. sendmail.cf要改的地方(參考用) (by DavidYu) 7. /usr/libexec/elf/ld: cannot find -liconv 或 iconv.h: No such file or directory + 8. /usr/libexec/elf/ld: cannot find -lhz + 9. 如何讓用 ssh方式進 bbs不用密碼 ------------------------------------------------------------------------------ 1.PttBBS的討論區 位於批踢踢實業坊 (telnet://ptt.cc) 的 PttCurrent 看板. @@ -119,6 +121,7 @@ Mbbsmail, P=/home/bbs/bin/bbsmail, F=lsSDFMhPu, U=bbs, S=10,R=20/40, 改成: LDFLAGS+= -liconv -L/usr/local/lib +------------------------------------------------------------------------------ 8./usr/libexec/elf/ld: cannot find -lhz Ptt 支援正體中文轉簡體中文的功能 若您開啟了這個選項 (#define GB_CONVERT) @@ -129,3 +132,18 @@ Ptt 支援正體中文轉簡體中文的功能 LDFLAGS+= -liconv 加上 LDFLAGS+= -liconv -lhz + +------------------------------------------------------------------------------ + 9. 如何讓用 ssh方式進 bbs不用密碼 +先在 /etc/ssh/sshd_config 中把 + #PermitEmptyPasswords no +改成 + PermitEmptyPasswords yes + +若您使用 FreeBSD 4.x, 請改 /etc/pam.conf, 在 +sshd auth required pam_unix.so try_first_pass +這行最後面再加上 nullok + +若您使用 FreeBSD 5.x, 請改 /etc/pam.d/sshd, 在 +auth required pam_unix.so no_warn try_first_pass +這行最後面再加上 nullok |