Category filter
Manage local user accounts on Linux devices enrolled in Hexnode UEM
Managing multiple user accounts on a single device is crucial for adhering to a company’s security policies. Although the involvement of multiple users can improve resource allocation, inadequate management may result in unauthorized access and data breaches. With Hexnode, you can seamlessly manage all user accounts on Linux devices.
For Linux devices, Hexnode allows you to Create accounts, Change passwords, Force logout users, Revoke superuser privilege, Grant superuser privilege, Disable users, and Enable users.
How to remotely manage local users on Linux devices?
Hexnode UEM provides a range of remote management options for local users on Linux devices.
Sync Local Accounts
The first step to managing local users on your Linux devices is to execute the Sync Local Accounts action to sync all the accounts on the devices with Hexnode UEM.
- Log in to the Hexnode UEM console.
- Navigate to the Manage tab and click on the name of the Linux device whose local accounts you want to display.
- Click on Actions and choose Sync Local Accounts.
- Now click on the Local Accounts tab.
Here you can see a list of all the active users on the Linux device, along with other parameters such as:
- Account name: shows the username of the user.
- Unique ID (UID): displays the unique ID assigned to the user by the device.
- Superuser: specifies whether the user is a superuser or not.
- Status: displays whether the user is currently logged in or logged out.
You can also view inactive or deleted users by clicking on the ‘Show Inactive/Deleted Users’ button situated at the bottom of the user accounts list.
Clicking on the name of a user will give you additional details like:
- Full name: displays the full name of the user.
- Username: displays the username of the user.
- Groups: specifies the group.
- Superuser: specifies whether the user is a superuser or not.
- Unique ID (UID): displays the unique ID assigned to the user by the device.
- Login shell: displays the details of the Login shell on the device.
- Home directory path: displays the location of the home folder of the user.
- User-created time: displays the date and time when the user was created.
- Password last changed on: displays the date and time when the account password was last modified.
- Last successful login: displays the date and time of the last successful login of the user.
Create User Account
To effectively manage local users on Linux, you can also add more accounts to devices in addition to what already exists. Execute the Create User Account action from the Hexnode console to create new users.
- Log in to your Hexnode portal.
- Navigate to Manage > Devices.
- Select the Linux device to which you want to add a new user.
- Click the Local Accounts tab and click the Create User Account icon.
- A dialog box opens. Here you can configure various settings such as:
- Full Name
- Account Name
- Password
- Verify Password
- Login shell
- Grant superuser privileges
- Navigate to Manage > Devices.
- Select the Linux device to which you want to add a new user.
- Click Actions > Create User Account.
- Configure various settings as mentioned above and click on Create to create a new user account.
Force Log Out User
This action will force log out the user from their current active session.
- Navigate to Manage > Devices.
- Select the Linux device whose user account(s) you want to force log out.
- Click the Local Accounts tab.
- Click the Power button icon corresponding to the user you want to force log out to the left of the horizontal three-button menu.
- Click Proceed in the confirmation dialog box.
- Navigate to Manage > Devices.
- Select the Linux device whose user account(s) you want to force log out.
- Click the Local Accounts tab.
- Click the name of the user that you want to force log out under the Local Accounts tab.
- Click the Actions button and choose the Force Log-Out User option.
- Click Proceed in the confirmation dialog box.
Revoke superuser privileges
This action will remove the user from accessing superuser privileges on the device and will have restricted access and control over the device.
- Navigate to Manage > Devices.
- Select the Linux device whose superuser privilege must be removed.
- Click the Local Accounts tab.
- Click the horizontal three-dot menu corresponding to the respective user.
- Choose the Revoke superuser privilege option from the drop-down menu.
- Click Proceed in the confirmation dialog box.
Grant superuser privileges
This action will grant superuser privileges on the device.
- Navigate to Manage > Devices.
- Select the Linux device to which superuser privilege must be granted.
- Click the Local Accounts tab.
- Click the horizontal three-dot menu corresponding to the respective user.
- Choose the Grant superuser privilege option from the drop-down menu.
- Click Proceed in the confirmation dialog box.
Change Password
This action allows you to change the user’s password.
- Navigate to Manage > Devices.
- Select the Linux device whose user account(s) password you want to change.
- Click the Local Accounts tab.
- Click the name of the user to which you want to change the password.
- Click Actions and choose the Change Password option.
- Type in your new password and click on Proceed.
- Click Confirm to change the password of the user.
- Navigate to Manage > Devices.
- Select the Windows device whose user account(s) password you want to change.
- Click the Local Accounts tab.
- Click the horizontal three-dot menu corresponding to the respective user.
- Choose the Change Password option from the drop-down menu.
- Type in your new password and then click Proceed.
Disable User
This action helps you disable a user temporarily from accessing the device.
- Navigate to Manage > Devices.
- Select the Linux device whose user account(s) you want to disable.
- Click the Local Accounts tab.
- Click on the name of the user that you want to disable.
- Click Actions and choose the Disable User option.
- Click Proceed in the confirmation dialog box.
- Navigate to Manage > Devices.
- Select the Linux device whose user account(s) you want to disable.
- Click the Local Accounts tab.
- Click the horizontal three-dot menu corresponding to the respective user.
- Click the Disable User option from the drop-down menu.
- Click Proceed in the confirmation dialog box.
A disabled user can access their device only if the IT Admin enables them from the portal.
Enable User
This action allows you to enable a user account that was previously disabled using the Disable User action.
- Navigate to Manage > Devices.
- Select the Linux device whose user account(s) you want to enable.
- Click the Local Accounts tab.
- Click on the name of the user that you want to enable.
- Click Actions and choose the Enable User option.
- Click Proceed in the confirmation dialog box.
- Click Confirm to enable the user.
- Navigate to Manage > Devices.
- Select the Linux device whose user account(s) you want to enable.
- Click the Local Accounts tab.
- Click the horizontal three-dot menu corresponding to the respective user.
- Click the Enable User option from the drop-down menu.
- Click Proceed in the confirmation dialog box.