Welcome back, everyone.
One of my friend recently asked me, is it easy to be an ethical hacker?
Just think about it.
I would say no.
It is simple to be an ethical hacker, but it's not easy to confuse.
Right.
Let me tell you why it is easy to learn.
I mean, is it simple to learn every day?
It is simple to learn every piece of ethical hacking every day.
You can just learn every session of this entire course, every day.
It's that easy.
Just learn one section.
Just learn one lecture every day.
It's it's simple.
All right.
But you have to be consistent.
So to answer your question, to answer my own question, it is not easy, but it is simple.
All right.
So let's talk about the session.
At this moment.
We are going to do some basic stuff, particularly in Unix and in this in this lecture will be understanding.
Once you have your calendar installed, what are the first few commands you need to run?
You might have came across a couple of stuff, a couple of problems.
In that case, you can find some of the troubleshooting stuff steps.
In fact, I will mention that are probably you may find some videos on this on the same lecture series
itself, but if you have been successful enough, then let's get started.
All right.
So let's go to our Kelly machine.
This is the lovely user interface of the data, the next stop experience.
What do you need to do the moment you get your Kelly?
Just click on this, Duminy.
The top third option, you get an option saying, Kelly, Kelly, you have logged in as a user in the
evening.
Any kind of, you know, operating system in the moment, there could be two users.
One is the normal user, another one is the root user.
Now, remember, this road user is always having access to all the privileges.
That's why he is a super user, not the normal user, as having a limited access.
And in order to have access to all the resources that the route has, you always need to make use of
a pseudo command as a prefix every time, whenever you are running those high privilege command.
So you got the idea right in between those these two users.
As a part of commands, you need a pseudo as a prefix.
Let me show you how that works.
I have logged in Ascoli at this moment.
Right.
So let's say I want to update the package now.
What is that updating the package?
Does this like you have multiple softness on your windows and probably on your Mac OS as well?
When you're updating the package, it's about updating or it's all about updating their versions of
your existing software.
Right.
But when I say upgrading, it's all about going to another other.
You are going to not really a version going to another package altogether, jumping from one major release
to another media release.
Right.
So in the windows as well, if I talk about upgrading its maybe Windows seven to Windows 10, when I
talk about upgrading in Mac OS, it would be getting to maybe Pixar or anything else.
But when I talk about updating, it's all about updating to maybe ten point one to ten point to all
the stuff.
Right.
So you got the idea right.
So in our case, let me update the packets.
So if let's say I do the AAPT get that's the command to update the packages and I type the update A
it's not going to work.
I'll tell you why.
Wait for a second and you see an error saying permission denied.
You've got the idea.
Right, because I have logged in as candy and that's the difference.
If you remember, I talked about fruit over here and Kelly here.
And there's a difference between based on privilege and in order to make use of the same privilege for
those commands, you need to make use of pseudo type pseudo and the same command API to get update.
You got the idea right.
And every time you make use of this high privilege command while being the normal user, you have to
type your password.
Kelly, love is a wonderful right.
And you see your packages are getting.
Did it right, so that's the beauty.
I hope you understanding how the update really works now, how could I you know, I'm doing I'm making
use of pseudo every time you might forget, then you come back and then you again make use of pseudo
aldosterone.
How can I just, you know, come over it?
It's a but just be a rude user.
You just have to get the root access for that just type.
Just get the privilege right.
Sort of minocycline and you Bierut use it, not usually ask for the password because we have put that
earlier.
So it won't ask you at this moment if you have if you have tried earlier.
So in that case, it might have prompted you to put the password for your candy.
All right.
So now I'm a drug user.
From now onwards, I don't really have to make use of pseudo.
Remember, pseudo is basically super user do.
Right.
Super user do.
That's that's the main purpose.
Whenever you are a normal user and if you want to run any privileged comment, you make use of pseudo.
Now, if I want to make use of Sangamon, I can simply do a bit to get update and it's going to work
just like the way it was earlier.
Right.
See, now I hope the updating the packages is clear to you.
Now let's understand how the upgrade really works so I can simply do a pretty good upgrade.
Lovely.
And you see it asking me if I can if I'm ready to go for it.
I just press.
Yes.
And you see, it didn't really ask me for pseudo.
It's because I'm already a rude user, OK?
And because I'm a rude user it won't really ask me for multiple privileges.
OK now because I made use of a great command, it it would take a whole lot of time because in that
case you are going to a major changes and this might take a couple of minutes in case you haven't tried
earlier or to first set up.
So Will will continue once it is done.
All right.
So it's done.
Trust me, it took more than more than at least four minutes, four to five minutes, in a way.
But finally, we are done because we have we have tried to upgrade it.
All right.
And we have been successful enough.
So if you look at it, you can make use of up arrow and you get to know what all commands we we tried
we made use of APD get upgraded.
We made use of it to get upgrade as well.
Usually if you you know, you might find way to make use of two commands in the next.
There's a good idea.
You can what are you can do is you can make use of two command center line by AP to a date and then
an embassy and then your second command.
This also works both command at the time and you see what have been done separately with the upgrade
and update command works at a time.
All right.
So this is all about immediate upgrade upgrade as well, and not as a fan.
You also know that if you have been into the route, I mean, you are already there.
If you have been in these pseudo I mean, sorry, again, if you have been in the galley normal user,
you will always have to make use of Souto as a prefix while using every commands.
All right.
So now this is done.
This is the first stuff.
Now let's add a new user for that.
You need to just make use of add user that's Hegemann and just specify the name of it.
So I type Roger.
That's a user name.
It's done.
You specify the password.
OK, retype the password, you can type the name of it.
What's the name of that user?
That would be the user name.
You can specify whatever that's phone number and all the stuff once it is done.
Is this information correct type?
Yes, it's ready.
Now, the user, your user, Roger, is all set with it.
You have user Roger created this way you can create multiple users.
Now this user is normal user by default, OK?
This user is a part of normal user it one.
Having it cannot be it cannot make use of any privilege command unless you make a part of a pseudo group
to do that, you can put it into the pseudo group by making use of this command by user mode hyphen,
e.g. pseudo and use.
In the moment you do that, you are with that.
Now, you made Roger a part of a part of the pseudo group.
OK, another Roger can do all I can now run all the hyperbolic commands the way, the way Kelly used
to do it.
All right.
So this is all about, all about it from now.
And what's me probably be making use of Roger as a user.
And we'll see, you know, what all commands try and exactly the same way we have been running.
We can make use of Roger as well.
All right.
I hope you have found this lecture useful.
If you have any cushion in it, you can find me in the.
And I'll be there for you.
Thank you.