rmuser 命令
root@freebsd:~ # pw adduser test root@freebsd:~ # rmuser test Matching password entry: test:*:1002:1002::0:0:User :/home/test:/bin/sh Is this the entry you wish to remove? y Remove user's home directory (/home/test)? y Removing user (test): mailspool home passwd.
pw userdel 命令
root@freebsd:~ # pw adduser test root@freebsd:~ # pw userdel test
# pw userdel -n tom -r
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。