0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

webarenaでubuntu その76

0
Last updated at Posted at 2026-11-03

概要

webarenaでubuntu18.04やってみた。
vpsクラウドが終了するらしい。
vpsクラウドからindigoに引っ越す検討。
indigo申し込んでみた。
ubuntu 24.04、いれてみた。
新しいユーザーを追加するには

新しいユーザーを追加する手順

ubuntu 24.04(Ubuntu 24.04 LTS)で新しいユーザーを追加するには、adduser コマンドを使用するのが最も簡単で推奨される方法です。このコマンドを実行すると、ホームディレクトリの作成やパスワードの設定、ユーザー情報の入力が対話形式で自動的に進みます。
ターミナルを開き、管理者権限(sudo)を使って以下のコマンドを実行してください。

sudo adduser 新しいユーザー名

実行時の具体的な手順

例えば、testuser という名前のユーザーを追加する場合の、実際の流れと画面のイメージです。

$ sudo adduser testuser

Adding user `testuser' ...
Adding new group `testuser' (1001) ...
Adding new user `testuser' (1001) with group `testuser' (1001) ...
Creating home directory `/home/testuser' ...
Copying files from `/etc/skel' ...

#  新しいユーザーのパスワードを設定(画面には何も表示されませんが入力されています)
New password: [パスワードを入力してEnter]
Retype new password: [もう一度同じパスワードを入力してEnter]
passwd: password updated successfully

#  ユーザー情報の入力(すべて空欄のまま Enter を押して進めても問題ありません)
Changing the user information for testuser
Enter the new value, or press ENTER for the default
	Full Name []: 
	Room Number []: 
	Work Phone []: 
	Home Phone []: 
	Other []: 

#  最後に確認を求められるので「Y」を押してEnter
Is the information correct? [Y/n] y

これでユーザーの作成は完了です。

以上。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?