- 论坛徽章:
- 1
|
原帖由 Ericzhao82 于 2007-2-21 20:22 发表
用adduser向导添加多好?
可以自动添加组的。
如果想添加ftp这个用户 用 adduser就可以
下面是pw的参数
- pw [-V etcdir] useradd [name|uid] [-C config] [-q] [-n name] [-u uid]
- [-c comment] [-d dir] [-e date] [-p date] [-g group] [-G grouplist]
- [-m] [-k dir] [-w method] [-s shell] [-o] [-L class] [-h fd] [-N] [-P]
- [-Y]
- pw [-V etcdir] useradd [name|uid] -D [-C config] [-q] [-b dir] [-e days]
- [-p days] [-g group] [-G grouplist] [-k dir] [-u min,max] [-i min,max]
- [-w method] [-s shell] [-y path]
- pw [-V etcdir] userdel [name|uid] [-n name] [-u uid] [-r] [-Y]
- pw [-V etcdir] usermod [name|uid] [-C config] [-q] [-n name] [-u uid]
- [-c comment] [-d dir] [-e date] [-p date] [-g group] [-G grouplist]
- [-l name] [-m] [-k dir] [-w method] [-s shell] [-L class] [-h fd] [-N]
- [-P] [-Y]
- pw [-V etcdir] usershow [name|uid] [-n name] [-u uid] [-F] [-P] [-7] [-a]
- pw [-V etcdir] usernext [-C config] [-q]
- pw [-V etcdir] groupadd [group|gid] [-C config] [-q] [-n group] [-g gid]
- [-M members] [-o] [-h fd] [-N] [-P] [-Y]
- pw [-V etcdir] groupdel [group|gid] [-n name] [-g gid] [-Y]
- pw [-V etcdir] groupmod [group|gid] [-C config] [-q] [-n name] [-g gid]
- [-l name] [-M members] [-m newmembers] [-h fd] [-N] [-P] [-Y]
- pw [-V etcdir] groupshow [group|gid] [-n name] [-g gid] [-F] [-P] [-a]
- pw [-V etcdir] groupnext [-C config] [-q]
- pw [-V etcdir] lock [name|uid] [-C config] [-q]
- pw [-V etcdir] unlock [name|uid] [-C config] [-q]
复制代码 |
|