From the course: LPI Linux Essentials (010-160) Cert Prep
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Using account tools - Linux Tutorial
From the course: LPI Linux Essentials (010-160) Cert Prep
Using account tools
- [Man] Let's take a look at some commands that can be used to learn about the users and groups on a Linux system. Most notably, we have the "whoami" and the "ID" utilities, which can tell a user about their own identity and the "who" and the "w" utilities, which can give information about who is currently using the computer. If the user has multiple accounts and they can't remember which one they're logged in as, well, that's when you use the "whoami" command. To do this, just type in "whoami" and hit enter at the command line and it will display the current user ID. Typing "whoami" in the prompt will display a currently logged in username and therefore, you'll know who you are. If you need more information, that's where the "ID" utility can be used. Typing "ID" will usually show the current you ID for the username. It'll also give you the G ID and all of the group's memberships for that user. The ID command displays…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Understanding user accounts4m 15s
-
(Locked)
Account security5m 15s
-
(Locked)
Understanding groups2m 43s
-
(Locked)
Using account tools4m 30s
-
(Locked)
Creating accounts from the shell5m 59s
-
(Locked)
Modifying and deleting accounts12m 3s
-
(Locked)
Managing groups6m
-
(Locked)
Working as root6m 2s
-
(Locked)
-
-