From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
The id command - Linux Tutorial
From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment
The id command
- Welcome to our first lab. We're going to be working with the id Command and showing user ID information. Remember that all of these labs are available to you within the repository, and that's where I am right now. And I'm in the labs directory inside the lab-01 folder. And inside there we have lab-01-user-id.md. So these are all just markdown files. Those are the lab documents. So this way you can follow along with me step by step as we go through these labs on our systems. So welcome to the first lab. And the first thing you're going to want to do is access a terminal in Linux. So I'm going to jump over to my Debian client system once again. And here we are, go to the root directory, and let's work with the id Command. If you simply type id and press enter, you'll see the identification information for this particular user. So the user I'm working at is simply just called user. That's the name of the user account. When an account is created in Linux, it gets a user ID, or uid…