This article describes the Linux user and group commands with examples. Share with you for your reference, the details are as follows: 1. User-related commands newgrp Switch group identity whoami View the current login name 2. Add users in batches Create many accounts in Linux, put the information into a text file, and then import it into the system. 1) Edit user files 2) Edit the password file 3) newusers 4) pwunconv writes the password in /etc/shadow back to the /etc/passwd file 5)chpasswd writes the password file we wrote to /etc/passwd 6)pwconv writes the password in /etc/passwd back to shadow 3. Grant special permissions to ordinary users visudo This command is used to manage the /etc/sudoers file I hope this article will help you maintain your Linux system. You may also be interested in:
|
<<: Why is it slow when using limit and offset paging scenarios?
>>: Use Vue3 to implement a component that can be called with js
0. System requirements CPU I5-10400F or above Mem...
Introduction Animation allows you to easily imple...
This article records the specific steps for downl...
For the beginner's first installation of MySQ...
closure service nginx stop systemctl stop nginx s...
This article example shares the specific code of ...
We will install phpMyAdmin to work with Apache on...
Chinese documentation: https://router.vuejs.org/z...
Table of contents Preface start Basic layout Data...
Table of contents 1. Responsive principle foundat...
Two methods to implement Mysql remote connection ...
1. <body background=image file name bgcolor=co...
This article example shares the specific code of ...
Copy code The code is as follows: <!DOCTYPE ht...
1. Download and install the official MySQL Yum Re...