Hey everybody welcome to the next video.
The Linux operating system module.
So in this video it's going to be pretty quick.
We're going to be talking about the ideas.
So in this case with the I.D. we look if we just use the word command Heidi we get a little bit of information
here.
Now the first part is the you idea which is the user I.D..
This is assigned to the user.
And you see what you see yesterday.
So if we look in here this we can see our user I.D..
Normally users start at a thousand and worked their way up and roots obviously zero now understanding
that this is the user I.D. because you might see the I.D. but not the user name in certain situations
when you're digging through the operating system looking for something.
Now the next time we want to do is we CGI.
So we have the JD is the particular group in my case the main group that I built that I belong to is
the group called Brandon.
That's fairly common with the new Linux install like this.
And we have our actual groups where this is our actual full list of groups that Brandon is associated
with.
Now if we kept it you see group we get a lot of stuff.
Right.
So if we grew up for Brandon we get our groups as well.
Now I.D. is just a quick way to to grab that information relatively quickly.
But if you want to find out like for example if you're trying to move laterally let's say you're part
of this group over here plug in dev or plug dev and you see that the user John over here and plug in
Dove is also in Sudo.
So maybe now your job is to try to get good access to that user account who's in plugin Dev which does
have sudo access.
So understanding what users have sudo access and what don't.
So for example sudo dash L is always a good thing to list for because it always shows there are pseudo
rights in this particular case doesn't say no password.
It does require a parser but I have zero access to everything.
Now in some cases you're going to see that maybe they have pseudo no password setup on the account so
pseudo Shell is always a good thing.
Just quickly look up on.
So when you first get on a box do a quick look at the I.D. and then who am I.
Just just to make sure you're getting the full aspect of what the user is look for stuff like sudo any
admin based groups just understand that this structure is going to be relatively the same between flavors
of Linux.
So just understand what you want to look for.