Users Screen

System user management with bulk operations for locking, unlocking, and deleting users.


Layout

+------------------------------------------------------------------+
|  VPS Users   [Create User]   [Search: ____________]              |
+------------------------------------------------------------------+
|  ┌──────────────────────────────────────────────────────────────┐|
|  │ ☐  username   uid   gid   shell         home       actions  │|
|  │ ☐  root       0     0     /bin/bash     /root      [...]   │|
|  │ ☐  www-data   33    33    /usr/sbin/... /var/www   [...]   │|
|  │ ☐  deploy     1000  1000  /bin/bash     /home/...  [...]   │|
|  └──────────────────────────────────────────────────────────────┘|
|                                                                  |
|  Selected: 2  [Lock] [Unlock] [Delete]                          |
+------------------------------------------------------------------+

Features

FeatureDescription
User ListSystem users with uid, gid, shell, home
Search/FilterReal-time search by username
Select AllToggle all users checkbox
Bulk OperationsLock, unlock, delete multiple users
Create UserForm with username, password, shell, groups
Edit UserModify shell, groups, home directory
Delete UserRemove user (with confirmation)

User Detail

FieldDescription
UsernameLogin name
UIDUser ID
GIDPrimary group ID
ShellLogin shell
HomeHome directory
GroupsGroup memberships

Modals

  • Create User (username, password, shell, home, groups)
  • Edit User (shell, groups)
  • Delete Confirmation

Event Delegation

Buttons use data-users-action attributes.


CSS Classes

ClassPurpose
.db-headerModule header
.db-search-inputSearch input
.db-tableUser list table
.db-toolbarBulk action toolbar

API Calls

MethodEndpointPurpose
GET/api/users/listList users
GET/api/users/meta/optionsShells/groups
POST/api/users/createCreate user
PUT/api/users/:userUpdate user
DELETE/api/users/:userDelete user
POST/api/users/bulkBulk operations

Part of NexusPanel Documentation

← Back to Documentation