How to view logged-in users under Linux system
Although the previous introduction of user management, but that part of the main management user's account, but also a static list of users. Linux is a multi-user system that,
In CentOS, check that a user has been logged on and kicked out. Linux is a multi-user system. once connected to the network, it can provide services for multiple login users at the same time. The system administrator can understand all the users in
We know that access to files is based on the three types of files belonging to the owner, group, and other users, and ACLs provide more detailed permission settings beyond those three. ACLs can set permissions on single users and directories and
Linux is a multi-user system that, once connected to a network, can serve multiple logged-in users at the same time.View the actions of a userView Current User:[[email protected] ROOT] # W2:31pm up one day, 21:18 4 USERS, Lode average:0.12, 0.09, 0.0
Three ways to view information about logged-in System usersYun ZhengjieCopyright Notice: Original works, declined reprint! Otherwise, the legal liability will be investigated.I. Who this command shows who can log in, but this has a lot of fancy
Groups viewing the members of the currently logged on user groupGroups Gliethttp View the group that the Gliethttp user is in, and the members in the groupWHOAMI View the currently logged in user name/etc/group file contains all groupsAll user names
Groups viewing the members of the currently logged on user groupGroups Gliethttp View the group that the Gliethttp user is in, and the members in the groupWHOAMI View the currently logged in user name/etc/group file contains all groupsAll user names
4 Ways to Identify the logged-in on Your Linux SystemAs a system administrator, you can often (at some point) need to see which users in your system are active. Sometimes you even need to know what they are doing. This article summarizes 4 ways to
14.1 W: Detailed query for users who are logged on to the current computer
14.2 Who: Display simple information for users who are logged on to the current computer
14.3 WhoAmI: Displays the user name associated with the current valid ID
1
As a system administrator, you can often (at some point) need to see which users in your system are active. Sometimes you even need to know what they are doing. This article summarizes 4 ways to view system user information (by number (ID)).1. Use
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.