LoginSignup
0
0

More than 5 years have passed since last update.

netBSDでユーザを追加する。

Posted at

Linuxもまともに扱えない自分のための備忘録。

こちらのサイト様を参考にさせていただいた。
http://d.hatena.ne.jp/nyanobsd/20080527/1211944503


# useradd -c 'hoge' -G wheel -m hoge
# passwd hoge
Changing password for hoge.
New Pass word:********
Retype New Password:********

-G と -mを逆にしたら動かなかった。
-c でフルネームを、
-G wheel で管理者グループへの所属を、
-m で/home/以下へのディレクトリ作成並びにユーザ追加を表しているそうな。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0