- Community Home
- >
- HPE Community, Taiwan
- >
- HP-UX
- >
- 系統管理
- >
- FTP Server 權限如何設定?
類別
Company
Local Language
論壇
討論平台
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
論壇
部落格
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 08-19-2005 07:05 AM
在 08-19-2005 07:05 AM
FTP Server 權限如何設定?
Defines a directory entry in the cdpath. dir defines a search path that is used when changing directories.
For example:
cdpath /pub/packages cdpath /.aliases
would allow the user to cd into any directory directly under /pub/packages or /.aliases directories. The search path is defined by the order in which the lines appear in the /etc/ftpd/ftpaccess file.
If the user were to give the command:
cd foo
The directory will be searched for in the following order:
./foo
an alias called foo
/pub/packages/foo
/.aliases/foo
The cd path is only available with the cd command. If you have a large number of aliases, you might want to set up an aliases
directory with links to all of the areas that you wish to make available to users.
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 08-19-2005 07:18 AM
在 08-19-2005 07:18 AM
FTP Server 權限如何設定?
user login之後的pwd 就是 / (實際是$HOME),根本無從cd到其他路徑。
我還曾試過guestgroup dba,root,但是一旦加了這個,雖然可以遊走所有路徑,但是delete的功能就會消失...到處都可以delete....讓人傷透腦筋。
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 08-19-2005 07:37 AM
在 08-19-2005 07:37 AM
FTP Server 權限如何設定?
如果snoopy這個使用者被限制在家目錄/home/snoopy,那麼如果我在/home/snoopy裡面建立一個連結檔(ln),連結到/test這個目錄,那麼是否snoopy就可以利用這個連結檔移動到/test去呢?還有,這個alias所建立的目錄是否可以讓使用者離開自己的家目錄呢?答案是否定的!也就是說,不論是建立連結檔或者使用alias,您都無法離開被限制住的目錄喔!
建立連結應該要用alias而非cdpath
for example, in /etc/ftpd/ftpaccess
-------------------------------------------
alias testlnk /test
-------------------------------------------
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 08-19-2005 07:55 AM
在 08-19-2005 07:55 AM
FTP Server 權限如何設定?
一個user有自己的$HOME,但是他的程式放在另一個路徑下。AP人員當然是要去update路徑下的程式...這樣才是他們日常作業的程序。如果硬要卡在$HOME,他們就得再進telnet去change path。而且限制了delete....為什麼不能放在比較高的level..凡是ftp都不允許他們delete...這樣卡來卡去.. 該怎麼兩全其美?
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 08-19-2005 09:17 AM
在 08-19-2005 09:17 AM
FTP Server 權限如何設定?
1. 對於ap開共用account, 共用account的目錄直接指向程式路徑或路徑的上層, 對於共用account可以設定只能ftp無法telnet. 至於ftp的權限做法, 如果有其他問題再發問.
2. 對於"凡是ftp都不允許他們delete"當然是可以透過修改ftpaccess來做限制, 但必須考量是不是有需要這樣做, 會不會影響其他的使用者....等等, 諸多因素.