


Open source China APP newly launched: dynamic return, integrated large model dialogue, and easy reading of technical reports
[Open source China APP newly launched] "Move" returns, integrates large model dialogue, and reads technical reports
Step one: Log in to the existing Linux system and use the root account linux to set user group permissions. After logging in, as shown on the right:
In this way, log in to the Linux systemlinux sets user group permissions, and log in as the root user
Note: If you want to create users and user groups for Linux scheduled tasks, then the user you are currently logged in must have root permissions, or the logged in user is the root user
Step 2: Create a group
If you don’t know the format for creating a group, enter: groupadd --help, and the prompt shown above will appear
Note: When creating a group, you can specify the group ID and whether the group ID is repeated, etc. The basic creation sentence: groupadd group name
Step Three: Create User
Same as creating a group, if you don’t know the creation command, just enter: useradd --help, and a prompt will appear
Basic creation sentence: useradd-d/home/user root directory-m-g user group username
The -m in the sentence inside is to create a directory, and -g is which group the user belongs to
In this way, we have created the user group and user, so the next step is to change the password for the newly created user
Step 4: Change Password
Change the user's password, enter the password twice as prompted, and the prompt changes successfully. In this way, the user we created can log in like a normal user, and so far, the user we created cannot execute like root. Commands, etc. Since we have not given permissions to the newly created user, we will give permissions to the user
Step 5: Grant permissions to users
As shown in the picture above, this is the prompt message of chown--help. Next, let’s write an empowering sentence
Sentence format: chown-R owner: user group file or directory, -R means loop traversal, and all files in the directory belong to this owner.
Step 6: Change folder permissions
As shown, the previous is the chmod--help prompt message
Sentence format: chmod-R777/home/directory or file that needs to change permissions, -R means recursive, change the permissions of all directories under this directory to 777
At this point, log in to root, create a user group, create a user, specify a directory for the user, and specify permissions for the directory to complete the Linux version of qq. Finally, here are the screenshots of the organization and user to which the folder belongs
The above is the detailed content of Open source China APP newly launched: dynamic return, integrated large model dialogue, and easy reading of technical reports. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Flatpak application permission management tool: Flatseal User Guide Flatpak is a tool designed to simplify Linux software distribution and use. It safely encapsulates applications in a virtual sandbox, allowing users to run applications without root permissions without affecting system security. Because Flatpak applications are located in this sandbox environment, they must request permissions to access other parts of the operating system, hardware devices (such as Bluetooth, network, etc.) and sockets (such as pulseaudio, ssh-auth, cups, etc.). This guide will guide you on how to easily configure Flatpak with Flatseal on Linux

Linux Kernel is the core component of a GNU/Linux operating system. Developed by Linus Torvalds in 1991, it is a free, open-source, monolithic, modular, and multitasking Unix-like kernel. In Linux, it is possible to install multiple kernels on a sing

Have you ever wanted to save your favorite videos from the internet? Whether it's a funny cat video or a tutorial you want to watch later, Yt-dlp is here to help! In this comprehensive yt-dlp tutorial, we will explain what yt-dlp is, how to install i

This brief guide explains how to type Indian Rupee symbol in Linux operating systems. The other day, I wanted to type "Indian Rupee Symbol (₹)" in a word document. My keyboard has a rupee symbol on it, but I don't know how to type it. After

Linux is best used as server management, embedded systems and desktop environments. 1) In server management, Linux is used to host websites, databases, and applications, providing stability and reliability. 2) In embedded systems, Linux is widely used in smart home and automotive electronic systems because of its flexibility and stability. 3) In the desktop environment, Linux provides rich applications and efficient performance.

Experience the satisfying click of a vintage IBM Model M keyboard, even without owning one! This tutorial shows you how to enable the authentic sound of a bucklespring keyboard on your Linux system using the Bucklespring utility. Table of Contents -

Linus Torvalds has released Linux Kernel 6.14 Release Candidate 6 (RC6), reporting no significant issues and keeping the release on track. The most notable change in this update addresses an AMD microcode signing issue, while the rest of the updates

If you're familiar with AirDrop, you know it's a popular feature developed by Apple Inc. that enables seamless file transfer between supported Macintosh computers and iOS devices using Wi-Fi and Bluetooth. However, if you're using Linux and missing o
