- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2018-04-06T21:20:36+09:00","default:dramsukohome","dramsukohome")
#author("2018-11-24T10:11:51+09:00","default:dramsukohome","dramsukohome")
[[Linux]]~
* ユーザー追加 [#h052b204]
#contents
* 基本的なこと [#zff7a10e]
** ユーザー追加 [#h052b204]
- ftpasswd --file /etc/ftpd.passwd --passwd --name hogehoge --uid 500 -gid 105 --home (共有fullpath) --shell /bin/bash
* ユーザー削除 [#h052b204]
** ユーザー削除 [#h052b204]
- ftpasswd --file /etc/ftpd.passwd --passwd -delete-user --name USERNAME --uid 500 -gid 100 --home /home/USERNAME --shell /bin/sh
* PASV mode 設定 [#z05e900b]
** PASV mode 設定 [#z05e900b]
-NATルータ越えで、PASVモードを使用する場合~
または、「"PASV" 227 -」 のエラーが出る場合
-sudo vi /etc/proftpd.conf
-下記を追加
MasqueradeAddress tar3.net
PassivePorts 4000 4029
* ldap 連携 [#ec237d83]
** ldap module のインストール [#z207c089]
sudo yum install proftpd-ldap