in the Linux system Build File system, build user, modify user group, reset user passwordExperimental background: User and Space user name: BOSSWLB Group and satellite
, Groupdel, Groupmod, gpasswdRights Management:Chown, Chgrp, chmod, umask/ETC/PASWD:User name: Password: Uid:gid Comment: Home directory: Default Shell/etc/group:Group name: Password: GID: List of users with this group attached to the group/etc/shadow:User name: Password: Last time the password was modified: Minimum Age: Maximum Age: Warning Time: Inactive time: Expiry time:useradd [Options] USERNAME-U UID
One, user management commandsUser Information file:/etc/passwdaa:x:501:501: null:/home/aa:/bin/bashFirst column: User nameSecond column: Password bitThird column: UID user id=> more than 500 ordinary usersFourth column: GID initial group IDFifth Column: User descriptionSixth
I. Frequently dealing with folders/etc/passwd,/etc/shadow,/etc/group,/etc/gshadow,1./etc/passwdUser name: X:uid:gid: Some properties of the User: Home directory: Default shell (usually/bin/bash)/sbin/nologin is a special shell that is forbidden to log on.2./etc/shadowUser name: Password after encryption: Last Change Password time (1970.1.1): How long the password cannot be changed: How long does the passwor
1: What is a user? What is a user group?User: Is the identity of the system usersUser group: A collection of users with the same characteristics, sharing a certain power2: Types of users and user groups?
The chmod command is important to change the access rights of a file or directory. There are two ways to use this command: One is the text-setting method that contains the letter and operator expressions, and the other is the numeric setting that contains the numbers.
Because the digital setting method is not very intuitive, this article does not introduce. The use of the text setting method is as follows:
chmod [who] [+ |-| =] [mode] File name
The meanings of the options in the command are
User and User group managementLinux is a multi-user multi-tasking time-sharing operating system, all users who want to use the system resources must first request an account from the system administrator, and then enter the system as the identity of the account. On the one hand, the user's account can help the system a
ObjectiveIn this article, I am going to explain, how to insert multi user or more than one user in Share Point list.About Sharepoint list where value wocould be inserted
There is a list calledTestinguser.
There is one column in list calledUsertest.
This column is of TypePerson or group.
Allow multiple selections are true.
Allow selection is setPeople and
First, prefaceThis series of essay notes is not a detailed description of the principles of the command, just a simple record,For later review and reviewSecond, direct input command problem
Sometimes, when we use Useradd Groupadd and other commands, directly at the terminal input, will prompt, no this command or command does not exist message
This is because the commands we enter directly are the commands in the/usr/bin directory, and our Useradd groupadd command is in the/usr/sbin
Linuxsir user group, or it can be a team of ADM users;Many-to-many: multiple users correspond to multiple user groups, and several users can belong to the same group, in fact, many-to-many relationship is the extension of the previous three, understand the above three, this article can also understand;Third,
superuser, the home directory of the normal user does not change .2) User's mailboxThe path to the new user's mailbox is typically the /var/spool/mail/user name .3) User Templates DirectoryThe user's template directory is/etc/skel, and each user is created, and the user's home directory is copied from that directory .
User Management commandsCommand name: UseraddFunction: Add user (cannot be used immediately after adding, must change user password with passwd before use)Usage: useradd [options] User nameOption parameters:-U manually specify UID for us
in detail later in this article. User groups (Group) IntroductionTo put it simply, a user group in a Linux system is a set of users (user) with the same characteristics: a company, a family is a collection, similar to the user gr
[Options] User name-u UID: Specify UID manually-D Home Directory: Manually specify the home directory-C User Description: Manually specify the user's description-G Group Name: Manually specify the initial group-G Group Name: Specify the user's additional
Summary of command knowledge about/etc/passwd,/etc/shadow,/etc/group, as well as user management and viewing of user information/etc/passwd filepasswd files are user-related information, package contains user name, password, belongs to the main UID,
1,How to add an account under Linux system: User name is std02, password is PWD02?: #useradd std02#passwd std02Prompt to enter password pwd02, and then press prompt to enter PWD02You can also:#useradd-N std02-p pwd02
2,Create a new subdirectory/home/public so that it is shared by all users and has all permissions, but cannot be deleted by non-owner?: #mkdir/home/public#chmod A+trwx/home/public
3,Allow a s
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.