Help us understand the problem. What is going on with this article?

CentOSでユーザを作成してパスワードを設定してユーザ一覧で確認する方法

環境
OS : MacのVirtualBoxに作った仮想マシンのCentOS7

ユーザを作成する
ユーザを作成する
$ useradd {ユーザ名}

パスワードを設定する(rootの場合はユーザ名が不要)
$ passwd {ユーザ名}

Screen Shot 2017-06-08 at 21.30.11.png

ユーザ一覧で確認する
フォーマット
ユーザ名:パスワード:ユーザID:グループID:コメント:ホームディレクトリ:ログインシェル

$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
<省略>
mana:x:1000:1000:mana:/home/mana:/bin/bash
ponsuke:x:1001:1001::/home/ponsuke:/bin/bash
vboxadd:x:996:1::/var/run/vboxadd:/bin/false

出典

ponsuke0531
びっくりするほど物覚えが悪いが、エンジニアを目指しています。
http://ponsuke-tarou.hatenablog.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした