JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... int * fd2p ); int rresvport(int * port ); int iruserok(uint32_t raddr , int superuser , const char * ruser , const char * luser ); int ruserok(const char * rhost , int superuser , const char * ruser , const char * luser ); int rcmd_af(char ** ahost , ... t_af(int * port , sa_family_t af ); int iruserok_af(const void * raddr , int superuser , const char * ruser , const char * luser , sa_family_t af ); int ruserok_af(const char * rhost , int superuser , const char * ruser , const char * luser , sa_famil ... ... int * fd2p ); int rresvport(int * port ); int iruserok(uint32_t raddr , int superuser , const char * ruser , const char * luser ); int ruserok(const char * rhost , int superuser , const char * ruser , const char * luser ); int rcmd_af(char ** ahost , ... t_af(int * port , sa_family_t af ); int iruserok_af(const void * raddr , int superuser , const char * ruser , const char * luser , sa_family_t af ); int ruserok_af(const char * rhost , int superuser , const char * ruser , const char * luser , sa_famil ... ... int * fd2p ); int rresvport(int * port ); int iruserok(uint32_t raddr , int superuser , const char * ruser , const char * luser ); int ruserok(const char * rhost , int superuser , const char * ruser , const char * luser ); int rcmd_af(char ** ahost , ... t_af(int * port , sa_family_t af ); int iruserok_af(const void * raddr , int superuser , const char * ruser , const char * luser , sa_family_t af ); int ruserok_af(const char * rhost , int superuser , const char * ruser , const char * luser , sa_famil ... ... int * fd2p ); int rresvport(int * port ); int iruserok(uint32_t raddr , int superuser , const char * ruser , const char * luser ); int ruserok(const char * rhost , int superuser , const char * ruser , const char * luser ); int rcmd_af(char ** ahost , ... t_af(int * port , sa_family_t af ); int iruserok_af(const void * raddr , int superuser , const char * ruser , const char * luser , sa_family_t af ); int ruserok_af(const char * rhost , int superuser , const char * ruser , const char * luser , sa_famil ... ... int * fd2p ); int rresvport(int * port ); int iruserok(uint32_t raddr , int superuser , const char * ruser , const char * luser ); int ruserok(const char * rhost , int superuser , const char * ruser , const char * luser ); int rcmd_af(char ** ahost , ... t_af(int * port , sa_family_t af ); int iruserok_af(const void * raddr , int superuser , const char * ruser , const char * luser , sa_family_t af ); int ruserok_af(const char * rhost , int superuser , const char * ruser , const char * luser , sa_famil ... ... int * fd2p ); int rresvport(int * port ); int iruserok(uint32_t raddr , int superuser , const char * ruser , const char * luser ); int ruserok(const char * rhost , int superuser , const char * ruser , const char * luser ); int rcmd_af(char ** ahost , ... t_af(int * port , sa_family_t af ); int iruserok_af(const void * raddr , int superuser , const char * ruser , const char * luser , sa_family_t af ); int ruserok_af(const char * rhost , int superuser , const char * ruser , const char * luser , sa_famil ... ... int * fd2p ); int rresvport(int * port ); int iruserok(uint32_t raddr , int superuser , const char * ruser , const char * luser ); int ruserok(const char * rhost , int superuser , const char * ruser , const char * luser ); int rcmd_af(char ** ahost , ... t_af(int * port , sa_family_t af ); int iruserok_af(const void * raddr , int superuser , const char * ruser , const char * luser , sa_family_t af ); int ruserok_af(const char * rhost , int superuser , const char * ruser , const char * luser , sa_famil ... ... int * fd2p ); int rresvport(int * port ); int iruserok(uint32_t raddr , int superuser , const char * ruser , const char * luser ); int ruserok(const char * rhost , int superuser , const char * ruser , const char * luser ); int rcmd_af(char ** ahost , ... t_af(int * port , sa_family_t af ); int iruserok_af(const void * raddr , int superuser , const char * ruser , const char * luser , sa_family_t af ); int ruserok_af(const char * rhost , int superuser , const char * ruser , const char * luser , sa_famil ... ... 許可され、0 は許可されないことを意味する。 path そのユーザーが chroot されるべきパス。 例えば、以下のような行になる。 user = luser:022:00001: これは次のような意味になる。 ユーザ名 "luser" について、umask を 022 に設定し、 sftp を許可せず、scp を許可する ... oot パスを指定する必要がある。 もし path に空白があれば、以下のようにそれを括る必要があることを 思い出して欲しい。 user = "luser:022:00001:/usr/local/chroot dir" さらなる例については、デフォルトの rssh.conf ファイルを参照のこと。 関連項目 rssh (1), ss ... ... 限されるべきすべてのユーザに対し、 そのパスワードエントリを編集し、シェルが rssh になるようにする。 例えば以下のようにする。 luser:x:666:666::/home/luser:/usr/bin/rssh もし -v オプション付きで起動されたら、 rssh はバージョン番号を表示して終了する。 rssh ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。