In the LUnix system, the control of the permissions of a file or directory is managed by the owner and the group being sued. You can use the CHGRP command to change the file and directory to belong to the group, this way with the group name or group
The liunx command chown is used to change the owner of a specified file to the specified user or group chown. the user can be a user name or user ID; A group can be a group name or group ID. files are separated by spaces to change the permission
Linux is a multi-user and multi-task time-sharing operating system.
UserYou must first apply for an account from the system administrator and then enter the system as this account. The user's account helps the system administrator
UserTracking and
As shown, create a new user Masterbai under root privileges, and add some information to the/etc/passwd fileIn this file, the user information of the server, such as the red box user, is the user we created, and up to 2-25 of the users, belonging to
OriginalLinux is a multi-userTick Operations for tasksSystem, all one to use system resourcesof usersThe system administrator must firstApply for an account, and then enter the system as the account ID. The user's account can help the system
Linux is a multi-user multi-tasking time-sharing operating system, all of which use system resourcesof usersMust first request an account from the system administrator, and then enter the system as the ID of the account. The user's account can help
Linux is a multi-userTick Operations for tasksSystem, all one to use system resourcesof usersThe system administrator must firstApply for an account, and then enter the system as the account ID. The user's account can help the system administrator
User groupsEach user in Linux must belong to a group and cannot be independent of the group. Each file in Linux has the concept of owner, group, other group-Owner-Group-Other groups-Change the group where the user is locatedOwnerTypically the
Chown the owner of the specified file to the specified user or group, the user can be either a user name or a user ID; a group can be a group name or a group ID; a file is a space-separated list of files to change permissions, and wildcard
The liunx command chown is used to change the owner of a specified file to the specified user or group chown. the user can be a user name or user ID; A group can be a group name or group ID. Files are separated by spaces to change the permission
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.