FreeBSD scponly
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
Contents
#contents
*portinstall shells/scponly [#zdeed653]
theseus# portinstall shells/scponly
すると、エラーでとまる。もう一度
theseus# portinstall shells/scponly
でもとまる。でしつこく、
theseus# portinstall shells/scponly
すると、
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg .....
theseus# portinstall shells/scponly
** Found already installed package(s) of 'shells/scponly...
とインストール出来た。が、なんとなく、バギーな予感・・・
&ref(scponly_options.PNG);
cd /usr/local/share/examples/scponly/
piano:root {227} % ./setup_chroot.sh
Next we need to set the home directory for this scponly ...
please note that the user's home directory MUST NOT be w...
by the scponly user. this is important so that the scpon...
cannot subvert the .ssh configuration parameters.
for this reason, a writeable subdirectory will be create...
the scponly user can write into.
-en Username to install [scponly]
-en home directory you wish to set for this user [/home/...
-en name of the writeable subdirectory [incoming]
creating /home/scponly/incoming directory for uploading...
Your platform (FreeBSD) does not have a platform specifi...
This install script will attempt a best guess.
If you perform customizations, please consider sending m...
Look to the templates in build_extras/arch.
- joe at sublimation dot org
please set the password for scponly:
Changing local password for scponly
New Password:
Retype New Password:
if you experience a warning with winscp regarding groups...
the provided hacked out fake groups program into your ch...
cp groups /home/scponly/bin/groups
piano:root {102} %
WinSCP Ver3*では、
セッションは予期せずに閉じられました サーバはコマンドの...
WinSCP Ver4*では、
セッションは予期せずに閉じられました サーバはコマンドの...
と言って認証後接続が切れる。これは、''OpenSSHが $CVSCHROO...
[FreeBSD-users-jp 89461]
$CVSCHROOT = /usr/home/scponly というユーザのホーム
# mkdir -p $CVSCHROOT/dev
# mount -t devfs devfs $CVSCHROOT/dev
したところ正常に動作するようになりました。
ただ null 以外の必要のないものまでマウントされてしまいま...
起動時に毎回 mount_devfs しなければならなりませんが・・・
起動時にスクリプトをかけばよいのかしらん???
**/usr/local/etc/rc.d/winscp_dev_null_mount [#tcc55754]
#!/bin/sh
/sbin/mount -t devfs devfs /usr/home/scponly/dev
/usr/local/etc/rc.d/winscp_dev_null_mount と言うスクリプ...
winscp_dev_null_mount.sh
http://wiki.fdiary.net/BSDmad/?scponly/
http://blog.livedoor.jp/tuzzy92/archives/cat_1423758.html
----
#counter([total|today|yesterday]);
RIGHT:&lastmod;更新
----
終了行:
Contents
#contents
*portinstall shells/scponly [#zdeed653]
theseus# portinstall shells/scponly
すると、エラーでとまる。もう一度
theseus# portinstall shells/scponly
でもとまる。でしつこく、
theseus# portinstall shells/scponly
すると、
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg .....
theseus# portinstall shells/scponly
** Found already installed package(s) of 'shells/scponly...
とインストール出来た。が、なんとなく、バギーな予感・・・
&ref(scponly_options.PNG);
cd /usr/local/share/examples/scponly/
piano:root {227} % ./setup_chroot.sh
Next we need to set the home directory for this scponly ...
please note that the user's home directory MUST NOT be w...
by the scponly user. this is important so that the scpon...
cannot subvert the .ssh configuration parameters.
for this reason, a writeable subdirectory will be create...
the scponly user can write into.
-en Username to install [scponly]
-en home directory you wish to set for this user [/home/...
-en name of the writeable subdirectory [incoming]
creating /home/scponly/incoming directory for uploading...
Your platform (FreeBSD) does not have a platform specifi...
This install script will attempt a best guess.
If you perform customizations, please consider sending m...
Look to the templates in build_extras/arch.
- joe at sublimation dot org
please set the password for scponly:
Changing local password for scponly
New Password:
Retype New Password:
if you experience a warning with winscp regarding groups...
the provided hacked out fake groups program into your ch...
cp groups /home/scponly/bin/groups
piano:root {102} %
WinSCP Ver3*では、
セッションは予期せずに閉じられました サーバはコマンドの...
WinSCP Ver4*では、
セッションは予期せずに閉じられました サーバはコマンドの...
と言って認証後接続が切れる。これは、''OpenSSHが $CVSCHROO...
[FreeBSD-users-jp 89461]
$CVSCHROOT = /usr/home/scponly というユーザのホーム
# mkdir -p $CVSCHROOT/dev
# mount -t devfs devfs $CVSCHROOT/dev
したところ正常に動作するようになりました。
ただ null 以外の必要のないものまでマウントされてしまいま...
起動時に毎回 mount_devfs しなければならなりませんが・・・
起動時にスクリプトをかけばよいのかしらん???
**/usr/local/etc/rc.d/winscp_dev_null_mount [#tcc55754]
#!/bin/sh
/sbin/mount -t devfs devfs /usr/home/scponly/dev
/usr/local/etc/rc.d/winscp_dev_null_mount と言うスクリプ...
winscp_dev_null_mount.sh
http://wiki.fdiary.net/BSDmad/?scponly/
http://blog.livedoor.jp/tuzzy92/archives/cat_1423758.html
----
#counter([total|today|yesterday]);
RIGHT:&lastmod;更新
----
ページ名: