Commands are available for working with login names, system
IDs, and passwords.
- Login and logout commands
-
| Item |
Description |
| login |
Initiates your session |
| logout
|
Stops all your processes |
| shutdown |
Ends system operation |
| su |
Changes the user ID associated with a session |
| touch |
Updates the access and modification times
of a file, or creates an empty file |
- User and system identification commands
-
| Item |
Description |
| id
|
Displays the system identifications of a specified
user |
| logname |
Displays login name. |
| uname |
Displays the name of the current operating
system |
| who |
Identifies the users currently logged in |
| whoami
|
Displays your login name |
- Password command
-
| Item |
Description |
| passwd |
Changes a user's password |