業務用エアコン関連の技術情報、エラーコード、環境問題対策に関する別サイト「エアコンの安全な修理・適切なフロン回収」

LinuxTips(RedHat系)

LinuxTips(RedHat系)

ユーザー管理 記事一覧

「ユーザー管理」記事一覧♦ユーザーを作成する♦グループを作成する♦ユーザーが所属しているグループを確認する♦ユーザーの設...
LinuxTips(RedHat系)

ネットワーク管理 記事一覧

ネットワーク管理 記事一覧♦IPアドレスを確認する♦Linuxのネットワーク環境を確認する♦Linuxのポート状況を確認...
LinuxTips(RedHat系)

ディレクトリ・ファイル操作 記事一覧

ディレクトリ・ファイル操作 記事一覧♦ディレクトリ内のファイルすべてを表示する♦シンボリックリンクを確認する♦ファイル、...
LinuxTips(RedHat系)

ディスク・デバイス管理 記事一覧

ディスク・デバイス管理 記事一覧♦ハードディスクの使用状況を確認する♦パーティションテーブルを表示する♦使用できるフォー...
LinuxTips(RedHat系)

RPMパッケージ管理 記事一覧

RPMパッケージ管理 記事一覧♦インストール済みのRPMパッケージを確認する♦RPMパッケージの情報を表示する♦RPMパ...
LinuxTips(RedHat系)

システム管理 記事一覧

システム管理 記事一覧♦システムをすぐに再起動する♦不要サービスを停止するには♦CPUの各種情報を表示する♦メモリの各種...
LinuxTips(RedHat系)

ユーザーの設定を変更する

ユーザーの設定を変更するユーザーには予め、UIDやGID、ホームディレクトリなどが指定されている。これらの情報を後から変...
LinuxTips(RedHat系)

ユーザーを削除する

ユーザーを削除するユーザーを削除するコマンドはuserdel。このコマンドを実行すると、ユーザー情報は削除されるが、ユー...
LinuxTips(RedHat系)

一般ユーザーでroot権限のコマンドを実行する

一般ユーザーでroot権限のコマンドを実行する一般ユーザーでログインの時、root権限のコマンドを使用する場合は、sud...
LinuxTips(RedHat系)

他のユーザにファイルを見せないようにする

他のユーザにファイルを見せないようにするLinuxでは、他のユーザにファイルを見せないようにすることができる。chmod...
LinuxTips(RedHat系)

ユーザーを作成する

To create and add a new user, use the "useradd" commandBy specifying a user name as an argument to the command, a user will be created. The user directory will be created under the /home directory, and the group name will be the same as the user name.
LinuxTips(RedHat系)

グループを作成する

To create and add a new group, use the "groupadd" command.Information about groups is described in /etc/group and can be edited, but it is better to edit the group information with the vigr command instead of directly editing the "/etc/group" file.
LinuxTips(RedHat系)

ユーザーが所属しているグループを確認する

Check the group in /etc/passwd and /etc/group (check the gid)Users always belong to a group, and the group described in the /etc/passwd and /etc/group files is the primary group.The gid (group ID) is stored in the /etc/passwd and /etc/group files
LinuxTips(RedHat系)

ユーザを複数のグループに所属させる

Group information in Linux is stored in the "/etc/group" file, which has the following notationtama:x:500:From left to right, tama is the group name, X is the password (when it says X, it is written in the /etc/gshadow file). 500 is the GID.To make a user belong to multiple groups, edit the "/etc/group" file, but it is convenient to use the vigr command to edit the "/etc/group" file. (The operation method is the same as vi)
LinuxTips(RedHat系)

ユーザーのログイン履歴を確認する

The user's login history will be output to the /var/run/utmp and /var/log/wtmp files.This file, like the /var/log/lastlog and /var/log/btmp files, is a binary file, so it cannot be displayed by the less, cat, or tail commands.To display it, use the dedicated /usr/bin/last command.