1.Linux operating system is multi-user multitasking operating system, including user accounts and group accounts of two
Segment user account (ordinary user account, Super User account) in addition to the
One, the user added1. Account Add[Email protected] tmp]# Useradd ERRSRThe user entry is appended to the/etc/passwd file and the folder that belongs to the user is automatically generated under the/home folder, which is the user name for the default user group2. Password sett
In Linux, each user has a unique user name and a user identifier (UID, numeric) associated with it. A user can belong to more than one user group, each with a unique name and a user
user password Management user group)Three files/ETC/PASSWD key information for storing users/etc/group Storage User Group key letter/etc/shadow Store user's password information1. User
Linux user and group management, Linux User Management
I. Overview:
1. Three types of users in Linux:
(1) Super User (root) has all permissions of the operating system. The UID value is 0.
(2) general users have limited operating system permissions. UID value: 500 ~ 6000
(3) the pseudo-
User groupsGroupadd: Adding user groupsBasic format: groupadd-g GID group_nameExample: Add a user group with a GID of 501,group_name as DBA,Enter "GROUPADD-G 501 DBA"Groupdel: Deleting a user groupBasic format: Groupdel group_nameExample:1), delete a
Article Title: Linux User and User group management overview. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
This document describes the concepts of user and
You can manage linux users and user groups to help beginners. 1. add the user syntax: useradd [option] [user account] parameter: -c: specifies a descriptive description.-d: specifies the starting directory for user logon.-g: specifies the group to which the
1. Theoretical knowledge2. User and User group management3. Source Package Installation"Theoretical Knowledge"I. User account ManagementAaaA:authentication Certification-who are you?A:authorization Authorization--What can you do?A:audit Audit-What did you do?Two. User Accoun
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
One, the user account includes (view the existing account | Add user account | Modify User Account | Delete user account)To view an existing account:more/etc/-F':'{print $}' /etc/passwdAdd user account command: Useradduseradd-d/home/uhome-m ikphpCreated a ikphp
-BUS-PROXY:X:999:997:SYSTEMD Bus Proxy:/:/sbin/nologinSYSTEMD-NETWORK:X:192:192:SYSTEMD Network Management:/:/sbin/nologinDbus:x:81:81:system message Bus:/:/sbin/nologinPolkitd:x:998:996:user for Polkitd:/:/sbin/nologinTss:x:59:59:account used by the trousers package to sandbox the TCSD Daemon:/dev/null:/sbin/nologinPostfix:x:89:89::/var/spool/postfix:/sbin/nologinSshd:x:74:74:privilege-separated Ssh:/var/empty/sshd:/sbin/nologinChrony:x:997:995::/var
required between changing the password two times.5. The maximum time interval refers to the maximum number of days the password remains valid.The 6 warning Time field represents the number of days from the beginning of the system warning user to the official expiration of the user's password.7. Inactivity time indicates the maximum number of days that a user does not have a login activity but the account r
Linux is an excellent multi-user multitasking operating system.Mastering Linux User/user group management is one of the basic and essential skills.Simply make a summary.Regardless of the user management settings of the graphical interface or the management of the terminal, t
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
Solaris User Management (1): user and group management user management is the basis of system management. Solaris not only supports the concepts of users and groups supported by traditional UNIX, but also introduces role-based access control (RBAC) from Solaris 8 ), it provides a safer and more flexible way to allocate
1. Useradd
The Useradd command can create a new user account with the most basic usage:
Useradd User Name
If you enter the following command:
Useradd NewUser
The system will create a new user NewUser, and the user's home directory is/home/newuser.
The Useradd command has more parameters, and the common combination is:
Useradd username G
Users, Groups, permissionsSecurity context (Secure):Permissions:R, W, XFile:R: Readable, you can view the contents of the file using commands like CatW: writable, can edit or delete this fileX: Executable, executable, can be submitted to the kernel at the command prompt as a command to runDirectory:R: You can perform LS for this directory to list all the files of the contentW: You can create files in this directoryX: You can switch to this directory using a CD, or you can use Ls-l to view the de
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.