【求助】問一個FTP的權限問題

顯示結果從第 1 筆 到 2 筆,共計 2 筆
  1. #1
    會員
    註冊日期
    2001-11-26
    討論區文章
    99

    【求助】問一個FTP的權限問題

    目前平臺如下:
    RH 7.3
    VSFTP

    我想要建立一個gp1使用者,當然這樣也同時建立一個gp1群組,然後再分別建立其他使用者,並將這些使用者設定隸屬於gp1群組。

    然後我希望讓gp1使用者以外的使用者相互間看不到別人上傳的檔案,也不能進入別人的目錄,但是gp1使用者可以進入所有gp1群組內使用者的目錄及上傳的檔案,我該怎麼設定?

    搞了半天都沒辦法做出來,誰可以教我嗎?我搜尋了一下也沒看到相同的問題。



  2. #2
    會員
    註冊日期
    2002-03-26
    討論區文章
    16
    手上沒機器, 先憑記憶~
    1. 利用home directory 方式, 假如FTP目錄在/data, 而gp2 ~ gp10 的家目錄就設在/data/gp2~10 但gp1設在/data . 注1 把chroot_list_enable設死
    2. 使用vsftpd內建的user_config_dir功能, 將各使用者相關rules設在user_config_dir 的目錄下 . 注2

    更多文件您可以參考 http://vsftpd.beasts.org/vsftpd_conf.html Vsftpd online document



    注1 : chroot_list_enable
    If activated, you may provide a list of local users who are placed in a chroot() jail in their home directory upon login. The meaning is slightly different if chroot_local_user is set to YES. In this case, the list becomes a list of users which are NOT to be placed in a chroot() jail. By default, the file containing this list is /etc/vsftpd.chroot_list, but you may override this with the chroot_list_file setting.

    註2. user_config_dir
    This powerful option allows the override of any config option specified in the manual page, on a per-user basis. Usage is simple, and is best illustrated with an example. If you set user_config_dir to be /etc/vsftpd_user_conf and then log on as the user "chris", then vsftpd will apply the settings in the file /etc/vsftpd_user_conf/chris for the duration of the session. The format of this file is as detailed in this manual page! PLEASE NOTE that not all settings are effective on a per-user basis. For example, many settings only prior to the user's session being started. Examples of settings which will not affect any behviour on a per-user basis include listen_address, banner_file, max_per_ip, max_clients, xferlog_file, etc.
    Default: (none)

類似的主題

  1. 【軟體求助】OFFICE的權限問題(急)
    作者:GORT 所在討論版:-- HELP ME 電 腦 軟 硬 體 急 救 版
    回覆: 2
    最後發表: 2007-03-22, 12:44 AM
  2. 請問有關winxp的權限問題?
    作者:aphoneman 所在討論版:-- Windows 討 論 版
    回覆: 1
    最後發表: 2003-08-29, 03:00 AM
  3. 【求助】請問XP和Win98的權限問題
    作者:mauricess 所在討論版:-- Windows 討 論 版
    回覆: 4
    最後發表: 2003-02-07, 02:47 PM
  4. 有關於xp的權限問題
    作者:jiff123 所在討論版:-- Windows 討 論 版
    回覆: 1
    最後發表: 2001-10-29, 10:45 PM

 

此網頁沒有從搜尋引擎而來的訪客

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •