Before learning the user and group management commands, we first need to understand the ID of this basic command, it is to display the current user's identity information, the user will inevitably involve the concept of the group, then let us look
Linux is a multi-tasking multi-user system that allows multiple users to log on to the same host at the same time. In order to consider everyone's privacy and work space, this time the owner of the file (owner) is the role of the user becomes
Analysis of user and permission management in Linux
Linux, as a multi-user multi-task operating system, is inevitably divided into a role concept in daily use to manage and use computers. This role is associated with every computer user, in Linux,
I. Users and Groups1. UserThe system is used to authenticate (authentication), authorize (Authorization), Audit (autition) accounts. Log in to the system by logging in to the user. The operating system invokes a process or program that corresponds
Linux User and user group management tutorial, linux User Group1. etc/passwd, etc/group, and etc/shadow
Two important files in linux. If the two files are not found or damaged, they cannot be logged on to the linux system.
Etc/passwd this file is
1. View the file information in the directory> LS//list View the file information in the current directory> ls-l or ll//to display the file information in a detailed list> ls-a//View all files (including hidden files)> Ls-al//View all files in a
The best thing about Linux is that it's a multi-user, multitasking environment. However, in the same kernel system, multi-user presence is a risk, because each user may have their own private files, so this time you need to set the permissions of
1. View Ipifconfig or IP A2. Restart the reboot3. Shutdown shutdown-h now4. Stop CTRL+C5. Restart the network or one of the Services service network restart II. directories and Operations commands
6. View the working directory
Job Requirementsuse the learned knowledge to complete classroom exercises and after-school assignments
Classroom Exercises 1. Create the user Gentoo, the additional group is bin and root, the default shell is/bin/csh, the annotation
creating, modifying, and deleting user accounts under the Linux system character interface mainly uses the 3 commands of Useradd,usermod and Userdel.I. Create a user accountCreate a user account is to create a new account in the system, and then
Basic concepts and commands for CentOS users and groupsUser Group:Group type:Administrator GroupCommon User GroupSystem GroupLogon Group
Group ID: GroupID and GroupID
(Normal user 1-65536)Administrator group: 0
Common User Group:
System
Linux User and permission management, linux user permission management
[File management, MPs queue, user and group management, user and permission management] \ user and group managementUser and group management
Linux is a multi-user multi-task time-
LINUX Study Notes account and group management, linux Study NotesLINUX Account and Group Management
UID: UserID: Save the file:/etc/passwd
GID: GroupID save file:/etc/group
/Etc/passwd file structure
A row represents an account, which contains a
Centos7.1 easy management of basic user permissions
If it's just a personal PC, it doesn't make much sense for an individual to deliberately spend too much time managing users and permissions. However, if there are a large number of users in an
User and user group related actionsUser and user group definitions:User: Resource acquisition identifier (resource allocation), which is one of the trusted elements of the security permission model User group: A user group is a collection of
Linux is a multi-user, multitasking operating system: Multiple users can use system resources at the same time, while multitasking means running multiple processes at the same time.A user is a collection of permissions that can gain access to system
New User group: Groupadd
Groupadd [-G GID] Group name
No-G is created according to the system default GID group, like the user, GID is also starting from 500
Delete user group: Groupdel
Groupdel Group Name
One,/etc/passwd is the user database, where the domain gives the user name, encryption password and other information of the userThe record line in the/etc/shadow file corresponds to one by one in/etc/passwd, which is automatically generated by the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.