請教各位先進,如何設定一個帳號也可瀏覽其它目錄?
例如:LOGIN 使用JOJO只可看到JOJO底下,我希望可看到其的目錄.
請教各位先進,如何設定一個帳號也可瀏覽其它目錄?
例如:LOGIN 使用JOJO只可看到JOJO底下,我希望可看到其的目錄.
man ftpd
If the user name appears in the file /etc/ftpchroot, or the
user is a member of a group with a group entry in this file,
i.e. one prefixed with `@', the session's root will be changed
to the user's login directory by chroot(2) as for an
``anonymous'' or ``ftp'' account (see next item). This facil?
ity may also be triggered by enabling the boolean "ftp-chroot"
capability in login.conf(5). However, the user must still
supply a password. This feature is intended as a compromise
between a fully anonymous account and a fully privileged
account. The account should also be set up as for an anony?
mous account.
「遥か昔、正義に生きる悪魔の伝説があった。
剣を取って戦い、悪魔の侵略を退けた魔剣士。
その伝説も、やがて人々の記憶から消えて行った。
だが2000年の時を経て、魔界はより強大になって甦る。
圧倒的なパワーで押し寄せる魔界の軍勢。
本格的な人間界侵攻が始まった…。
再び訪れた人類の危機に一人の男が立ち上がる。
伝説の魔剣士の血を引く悪魔狩人(デビルハンター)、その名はダンテ!」
Thanks for your answer!最初由 repsol 發表
man ftpd
If the user name appears in the file /etc/ftpchroot, or the
user is a member of a group with a group entry in this file,
i.e. one prefixed with `@', the session's root will be changed
to the user's login directory by chroot(2) as for an
``anonymous'' or ``ftp'' account (see next item). This facil?
ity may also be triggered by enabling the boolean "ftp-chroot"
capability in login.conf(5). However, the user must still
supply a password. This feature is intended as a compromise
between a fully anonymous account and a fully privileged
account. The account should also be set up as for an anony?
mous account.
書籤