[For memo] Linux Part 2


Creating a user. Users always belong to a group. If you want to use it as a login user, set a password with the passwd command.

useradd username
ls /home/       #Check if the user has created

Change user account

usermod user name

Erase user

userdel user name

Create and delete groups

groupadd group name
groupdel group name

User password registration and change

passwd username


su -username
su - #Login as root user

Recommended Posts

[For memo] Linux Part 2
[For memo] Linux Part 1 vi editor
Linux standard textbook memo 1 part 2
Linux standard textbook memo part 6
Linux x memo
linux (ubuntu) memo
Linux # Command Memo 1
pyenv for linux
Linux standard textbook memo 1
Linux standard textbook memo 3
List memo writing part 2
Linux standard textbook part 5
New Linux commands! !! Part 2
Python basic memo --Part 2
What is Linux for?
heroku memo (for myself)
Linux command for self-collection
FastAPI Tutorial Memo Part 1
Linux standard textbook part 4
Python basic memo --Part 1
NTP configuration memo on Linux
Python memo (for myself): Array
Try normal Linux programming Part 7
Linux Kernel Build for DE10nano
Try normal Linux programming Part 2
Linux distribution recommended for beginners
Python Basic Grammar Memo (Part 1)
Python code memo for yourself
Flutter platform channels for Linux
Try normal Linux programming Part 3
Try normal Linux programming Part 4
Linux tar xz command memo
Try normal Linux programming Part 6
Trying normal Linux programming Part 1
Linux Command Dictionary (for myself)
[For AtCoder] Standard input memo
Linux command memorandum [for beginners]
Convenient Linux shortcuts (for beginners)
[Memo] Substitute unnecessary variables for "_" (underscore)
Linux Frequently Used Commands [Personal Memo]
[Memo] Links for developing with Flask
WSL2 ~ Linux on Windows ~ (Part 1: Introduction)
Install tensorflow in Docker (LINUX) (memo)
Create Scratch Offline Editor for Linux
Linux command [ldconfig] LPIC learning memo
Convenient shortcut keys for Linux commands! !! !!
Frequently used Linux commands (for beginners)
[Must-see for beginners] Basics of Linux
FastAPI Tutorial Memo Part 3 Query Parameters
FastAPI Tutorial Memo Part 2 Path Parameters
Teamviewer for Linux installation procedure (CentOS)
[Reading memo] Linux standard textbook (Chapter 7-8)
pykintone on Windows Subsystem for Linux
Linux Basic Education for Front-end Engineer
Read Normal Linux Programming (Part 1 Only)
Use Azure AD for Linux authentication
Linux command (basic in basic) personal memo
Mastodon Bot Creation Memo: Part 4 Summary
A memo for utilizing the unit test mechanism KUnit of the Linux kernel
Windows Subsystem for Linux is not displayed