Thanks for the $SUDO lessons buddy, i think we taking over the market now cos SUDO is now available on MEXC, one of the best CEX. Am gonna stake my accumulated portion there and take over the space 🚀🚀
My two cents. If you're a noob, just use nano instead of vim. It's more easy to use and user friendly and almost as powerful as vim. And when you feel more comfortable using a command line editor try to learn vim.
Eli? Are you gonna come back with daily blobs? God I miss the blobs! I loved them so so much! Can you not do them on your website? Anyhow, I miss ya bro! Have a great day! Peace!
Thanks for the video. I can use my root pwd in linux when I download sw in Synaptic Package Manager but when I use sudo in terminal, the root pwd is being rejected. How can I fix it pse?
You don't want people as the root user all the time. Every user can technically type sudo then a command but if they're not in the sudoers file it will reject the command and log it. If you're on your own system and don't care about a command line mistake or if you're learning on a VM and can easily redeploy if you kill it, root user away my friend. However as I'm sitting here in puTTY monitoring the server I'm definitely not logged in as a root user. If something pops up and I need to make changes I'll sudo my way through it. It's also helpful for production environments to use sudo because in a log I can see exactly what someone does. If they are allowed to log in as root, you see root doing everything instead of user-"x".
By the way, is there another text editor that works for Ubuntu server, similar to Gedit? Im talking about the keyboard shortcuts. Vim and Nano are a bit non user friendly.
@@Ayyy-lmao That's not helpful. Way back in the stone age, I wanted to switch to Linux, but vi was torture for me to use. Everyone I asked told me to "suck it up and learn it." Attitudes like that kept me from switching to Linux for years. Nowadays, you can get a multitude of text editors for Linux that are compact enough that you can keep on a thumbdrive hanging on your keyring for when you have to work on some server you've never used before.
@lolis betternthan I'm not familiar with Gedit, but I like Text Editor. If you hover over all the dropdown menus, it shows you the shortcuts for each command. It came installed with Mint but you can prolly get it for Ubuntu using apt. (though, personally, I like Nano)
@@HungryGuyStories You can always use nano though. That shits about as ez as it gets. Control O to save, Control X to quit, the rest is just straight typing what you want and arrow keys to navigate.
I'm your diehard fan.im PALLAB from india.i don't know too much about networking but I really wanted to learn it through you.can you please teach me .I wanted to be your great student also a great followers.pls pls sir I request to you . please teach me.for this I will do anything whatever you will say.pls don't let me down.please please.really I wanted to be like you.
History Lesson of the day , The original UNIX meaning of SUDO , is absolutely superuser-do, I watched the entire interview with the creator and he explains the command in depth, how it came to be. This inteview th-cam.com/video/LaAwl3HN5ds/w-d-xo.html its called 'Inventing the SUDO command with Bob Coggeshall'. When you create a new user you wont even be able to use 'sudo' unless you add it to the group 'usermod -a -G sudo username' Then you should set the password 'sudo passwd' . When logging in you may not get a BASH shell you may get '/bin/sh' . A lot of commands will not work , change shells with 'sudo chsh -s username /bin/bash' $~ sudo echo your-user-name ALL=(ALL) NOPASSWD: ALL >> /etc/sudoers , if the spaces aren't right it will break 'sudo' You CAN do this with the NANO editor its not necessary to use VIM. 'sudo nano /etc/sudoers' . By adding this to the END of the file you will never have to type the sudo password in ever again. Although you will still have to elevate your privileges by the redundant typing of the 'sudo' command. Which you shouldn't change at least your reminding yourself your executing a command with ROOT , be careful. You can go a step further and never have to type sudo giving your user complete ROOT privileges (not recommended) .
I have Linux Mint running in VirtualBox...it's essentially Ubuntu made to look more like Windows...I'm having an issue where the "sudo" command is not doing as it should, I have updates waiting to install but they won't install because even when I go into the Terminal and use the "sudo" command and give it the password, it comes back saying I don't have the permissions to perform the command! I'm the only account on there, it is the administrator...WHY IS IT DENYING MY PERMISSIONS?!
@Christopher Althouse, in the /etc directory, there is a file named "sudoers". In that file, there should be a line that reads: root ALL=(ALL:ALL) ALL Repeat that line, but change the "root" to the name of your login. For example, if your login is Christopher, then the line should read: Christopher ALL=(ALL:ALL) ALL When done, you should have both lines. It should look like this: root ALL=(ALL:ALL) ALL Christopher ALL=(ALL:ALL) ALL If you are not able to edit the /etc/suoders file, well, then that is another problem. If you know your Linux Mint's root password, then you can run: su root When prompted, enter your root password. You will then be able to do the above. If you do not know your root password, then you will probably need to boot into single user mode, and do the above. But that is too much to go into, especially since you will probably succeed without needing to do this step. Cheers!
Let's be totally honest here. The Linux user experience is just plain awful. Beyond a joke really. You're shackled with so many facets of computing from yesteryear (most now half a century old) and just no longer fit for purpose. Having to memorize page upon page of abbreviated commands, which is nigh on impossible unless you are using them on a daily basis as a sysadmin. Throw in a fairly toxic elitist community and...well, you get my point.
I don't understand people like you COMPLAINING, ELI teaches FREE. Those of you with so much experience shouldn't watch his lessons/channels . There are people that really enjoy the fact that he takes the time to explain in a slow manner .
If you're used to the unix environment it will be really difficult to relate to someone learning this stuff for the first time. There are loads of random things which confuse beginners and the fact Eli is clarifying them will safe people a lot more time than the 20 minutes they spent watching the video.
@@jameschurch1697 its to slow im sorry, i love Eli videos and i actually learn alot from most of them, but taking a subject that supposed to be so basic and digging it out so much is an overkill. he supposed to explain the linux architecture and combine it with the sudo function. its not a good way to explain systems with analogies its just wont work
Dear sir... I am a proud moron with a webcam... if you want “professional” Louis Rossmann is for you... I have no doubt he can show you how to solder the Sudo command properly...
Ma So typical Linux snob “please be more professional “ >> please be boring. Why does someone have to be boring to educate? Linux fails because of the mentality of most of its hardcore users who hate on everyone. When I think of Linux I see arrogant pricks who get fired from foundations.
Been watching your videos for over 10 years. Love your work mate, thank you
Thank You for the awesome presentation. Really helps grasp the big picture for those who are less software inclined.
I have 2 years watching your channel and I just like it. Please keep it UP, you are the man. You sounds like a Cbt nuggets trainner to me.
I like MC (Midnight Commander) under Linux for file works and edit files.
This was a good video!
Thanks for the $SUDO lessons buddy, i think we taking over the market now cos SUDO is now available on MEXC, one of the best CEX. Am gonna stake my accumulated portion there and take over the space 🚀🚀
My two cents. If you're a noob, just use nano instead of vim. It's more easy to use and user friendly and almost as powerful as vim. And when you feel more comfortable using a command line editor try to learn vim.
You thought me php, thanks alot Eli, i now make 8 figures annually
I'm sorry but I find this very hard to believe. Are you telling me you make over $10,000,000 per year because you know php? Where do you live?
@@DrBenway97 in his fantasy world
what currency
At this point we could just shout “SUDO UNGROUND ME” to our parents to get ungrounded
Do you have a podcast? If so, where?
Check out The Daily Blob on his Failed Normal channel.
Thanks for the sudo lesson and showing us vim too.👍
you should always use visudo to edit the sudoers file, because if you make a mistake it tells you
and if you don't want to use vi you can always put 'export EDITOR='nano' for example in your .bashrc
@@baileyharrison1030 thanks for that, i dont like vi or nano so i will try that with xed
im just dabbing, just wiped an old laptop to zorin 15 and just self learning code ig. thanks, ill remember this.
Thanks Eli ...,
what is different between su and sudo? !
thanks ....really having a better understanding thru your teachings....
Eli? Are you gonna come back with daily blobs? God I miss the blobs! I loved them so so much! Can you not do them on your website? Anyhow, I miss ya bro! Have a great day! Peace!
Su-Su-Sussudio
What I think every time I see sudo.
Since I’m white arnt my privileges already fully escalated?
@@andrewlee4353 coca cola says don’t be a super user
Does the meaning of the word server change depending on the context?
Thanks for the video. I can use my root pwd in linux when I download sw in Synaptic Package Manager but when I use sudo in terminal, the root pwd is being rejected. How can I fix it pse?
Thn y we need sudo we can do all work by directly using root user , because every user can use sudo and do change then wat is the use of root user.
You don't want people as the root user all the time. Every user can technically type sudo then a command but if they're not in the sudoers file it will reject the command and log it. If you're on your own system and don't care about a command line mistake or if you're learning on a VM and can easily redeploy if you kill it, root user away my friend. However as I'm sitting here in puTTY monitoring the server I'm definitely not logged in as a root user. If something pops up and I need to make changes I'll sudo my way through it. It's also helpful for production environments to use sudo because in a log I can see exactly what someone does. If they are allowed to log in as root, you see root doing everything instead of user-"x".
@@Bearleaux thx bro.
Sussudio = Substitute Super User
Nice video
really good!!!
By the way, is there another text editor that works for Ubuntu server, similar to Gedit?
Im talking about the keyboard shortcuts.
Vim and Nano are a bit non user friendly.
harden up and get used to it
@@Ayyy-lmao That's not helpful. Way back in the stone age, I wanted to switch to Linux, but vi was torture for me to use. Everyone I asked told me to "suck it up and learn it." Attitudes like that kept me from switching to Linux for years. Nowadays, you can get a multitude of text editors for Linux that are compact enough that you can keep on a thumbdrive hanging on your keyring for when you have to work on some server you've never used before.
@lolis betternthan I'm not familiar with Gedit, but I like Text Editor. If you hover over all the dropdown menus, it shows you the shortcuts for each command. It came installed with Mint but you can prolly get it for Ubuntu using apt. (though, personally, I like Nano)
@@HungryGuyStories "vi" is a picnic compared to the "ed" editor.
I forgot how to use "ed", and I have no plans to punish myself, again.
@@HungryGuyStories You can always use nano though. That shits about as ez as it gets. Control O to save, Control X to quit, the rest is just straight typing what you want and arrow keys to navigate.
id wish, that when within the time limit, you shouldn't need to type sudo infront of everything again, for that period.
Hello Bob !! can you make some videos on shell Scripting?
Imagine thinking sudo means subsistute user do.
--this comment was posted by the super user do gang.
I'm your diehard fan.im PALLAB from india.i don't know too much about networking but I really wanted to learn it through you.can you please teach me .I wanted to be your great student also a great followers.pls pls sir I request to you . please teach me.for this I will do anything whatever you will say.pls don't let me down.please please.really I wanted to be like you.
sudoo vs sudoe
Say something sir!
History Lesson of the day , The original UNIX meaning of SUDO , is absolutely superuser-do, I watched the entire interview with the creator and he explains the command in depth, how it came to be. This inteview th-cam.com/video/LaAwl3HN5ds/w-d-xo.html its called 'Inventing the SUDO command with Bob Coggeshall'.
When you create a new user you wont even be able to use 'sudo' unless you add it to the group 'usermod -a -G sudo username'
Then you should set the password 'sudo passwd' . When logging in you may not get a BASH shell you may get '/bin/sh' . A lot of commands will not work , change shells with 'sudo chsh -s username /bin/bash'
$~ sudo echo your-user-name ALL=(ALL) NOPASSWD: ALL >> /etc/sudoers , if the spaces aren't right it will break 'sudo'
You CAN do this with the NANO editor its not necessary to use VIM. 'sudo nano /etc/sudoers' . By adding this to the END of the file you will never have to type the sudo password in ever again. Although you will still have to elevate your privileges by the redundant typing of the 'sudo' command. Which you shouldn't change at least your reminding yourself your executing a command with ROOT , be careful. You can go a step further and never have to type sudo giving your user complete ROOT privileges (not recommended) .
sudo beer
i know apt git update lol
I have Linux Mint running in VirtualBox...it's essentially Ubuntu made to look more like Windows...I'm having an issue where the "sudo" command is not doing as it should, I have updates waiting to install but they won't install because even when I go into the Terminal and use the "sudo" command and give it the password, it comes back saying I don't have the permissions to perform the command! I'm the only account on there, it is the administrator...WHY IS IT DENYING MY PERMISSIONS?!
It might be better to post in a forum where they answer questions like yours and post whats happening on your screen.
add your user to the sudoers
@Christopher Althouse, in the /etc directory, there is a file named "sudoers".
In that file, there should be a line that reads:
root ALL=(ALL:ALL) ALL
Repeat that line, but change the "root" to the name of your login. For example, if your login is Christopher, then the line should read:
Christopher ALL=(ALL:ALL) ALL
When done, you should have both lines. It should look like this:
root ALL=(ALL:ALL) ALL
Christopher ALL=(ALL:ALL) ALL
If you are not able to edit the /etc/suoders file, well, then that is another problem.
If you know your Linux Mint's root password, then you can run:
su root
When prompted, enter your root password. You will then be able to do the above.
If you do not know your root password, then you will probably need to boot into single user mode, and do the above. But that is too much to go into, especially since you will probably succeed without needing to do this step.
Cheers!
Is your user account in the 'wheel' group? I believe that is the default sudo group in ubuntu.
Freeipa+sudo
Let's be totally honest here. The Linux user experience is just plain awful. Beyond a joke really. You're shackled with so many facets of computing from yesteryear (most now half a century old) and just no longer fit for purpose. Having to memorize page upon page of abbreviated commands, which is nigh on impossible unless you are using them on a daily basis as a sysadmin. Throw in a fairly toxic elitist community and...well, you get my point.
Please sir please
almost 20 minutes to explain what root privilege means.
geez
I don't understand people like you COMPLAINING, ELI teaches FREE. Those of you with so much experience shouldn't watch his lessons/channels . There are people that really enjoy the fact that he takes the time to explain in a slow manner .
If you're used to the unix environment it will be really difficult to relate to someone learning this stuff for the first time. There are loads of random things which confuse beginners and the fact Eli is clarifying them will safe people a lot more time than the 20 minutes they spent watching the video.
@@jameschurch1697 its to slow im sorry, i love Eli videos and i actually learn alot from most of them, but taking a subject that supposed to be so basic and digging it out so much is an overkill.
he supposed to explain the linux architecture and combine it with the sudo function.
its not a good way to explain systems with analogies its just wont work
1. use visudo for sudoers
2. please be more professional on youtube movies...
???
Dear sir... I am a proud moron with a webcam... if you want “professional” Louis Rossmann is for you... I have no doubt he can show you how to solder the Sudo command properly...
Ma So typical Linux snob “please be more professional “ >> please be boring. Why does someone have to be boring to educate? Linux fails because of the mentality of most of its hardcore users who hate on everyone. When I think of Linux I see arrogant pricks who get fired from foundations.
Hello Bob !! can you make some videos on shell Scripting?