> ## Content Index
> Fetch the complete content index at: https://b.1994h.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Proftpd Centos 添加用户
- URL: https://b.1994h.com/proftpd-centos-add-user/
- Published: 2014-03-28T18:10:35.000Z
- Updated: 2014-03-28T18:10:35.000Z
- Author: Mark
- Tags: vps, #Migrated-1795060647921, #wp, #wp-post, #Import 2026-11-19 03:57

Proftpd 添加用户其实是很简单的，不过在网络上的各种方法都把它小题大做了，所以我在这里就给大家介绍一种简单易懂的方法

首先编辑 /etc/shells 这个文件，

sudo vi /etc/shells

在里面加上一行新的代码

/bin/false

现在我们可以开始添加用户了（1994改成你的用户名，/www改成你的授权路径）

useradd 1994h -d /www -s /bin/false

修改用户密码

passwd 1994h

最后启动Proftpd

/etc/init.d/proftpd start