Re: 請問兩個有關proftpd的問題

看板FreeBSD作者 (水藍)時間21年前 (2004/09/04 00:05), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/6 (看更多)
※ 引述《easyman.bbs@bbs.yuntech.edu.tw (easyman)》之銘言: : 2. 當我使用vipw限制xxxx user無法login(例如/sbin/nologin, : 也在/etc/下touch 一個nologin檔),可是proftpd也無法讓這些user登入。 : 而在/var/log/auth.log檔中,記錄error的原因: : USER xxxx (Login failed): Invalid shell: '/sbin/nologin' : 當我將xxxx user的login shell 改為/usr/local/bin/bash,就可以用proftpd登入? 不知道你要的是不是這個 ### It is wise when making an 'ftp' user that you either block its ### ability to login either via /etc/login.access or my giving it ### an invalid shell. ### Uncomment this if the 'ftp' user you made has an invalid shell RequireValidShell off 這樣user就可以ftp進去,但是ssh進不去 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 210.64.19.9
文章代碼(AID): #11E9Pd5a (FreeBSD)
文章代碼(AID): #11E9Pd5a (FreeBSD)