文書の過去の版を表示しています。


FreeBSDのユーザー管理いろいろ

rmuserコマンドを使う

sudo rmuser username
Matching password entry:

username:*:2002:2002::0:0:User &:/home/username:/bin/sh

Is this the entry you wish to remove? y
Remove user's home directory (/home/username)? y
Removing user (username): mailspool home passwd.

新規ユーザーのホームディレクトリには、/usr/share/skelの中身がコピーされる。

そのシステムに共通の設定ファイル(メールクライアントの初期設定とか)や、ディレクトリなんかを置いておくと便利。

  • freebsd/freebsd_user_management.1388641748.txt.gz
  • 最終更新: 2014-01-02 14:49
  • by Decomo