usermanagement
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| usermanagement [2025/01/18 08:39] – 1211112299 | usermanagement [2025/01/19 03:31] (current) – 1211112228 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| User management in Linux is a critical aspect of system administration. It involves creating, modifying, and managing user accounts and groups to ensure proper access control, system security, and resource allocation. Each user is assigned a unique identity, along with permissions and restrictions. | User management in Linux is a critical aspect of system administration. It involves creating, modifying, and managing user accounts and groups to ensure proper access control, system security, and resource allocation. Each user is assigned a unique identity, along with permissions and restrictions. | ||
| ----- | ----- | ||
| + | |||
| + | Add user: | ||
| + | adduser | ||
| + | |||
| + | Delete user: | ||
| + | deluser | ||
| + | |||
| + | Add group: | ||
| + | groupadd | ||
| + | |||
| + | Delete group: | ||
| + | groupdel | ||
| + | |||
| + | Change user password: | ||
| + | passwd | ||
| + | |||
| + | Lock/unlock user password: | ||
| + | passwd -l | ||
| + | passwd -u | ||
| + | |||
| + | Switch user: | ||
| + | su | ||
| + | |||
| + | Show user information: | ||
| + | id | ||
| + | |||
| + | ---- | ||
| * **Change user password** | * **Change user password** | ||
| Line 37: | Line 64: | ||
| {{: | {{: | ||
| + | ----- | ||
| + | Good user management is essential to make sure your system stay secure from unknown intruders. | ||
usermanagement.1737189542.txt.gz · Last modified: 2025/01/18 08:39 by 1211112299
