Linux - sudo Command Intro

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

ความคิดเห็น • 66

  • @jayvuillermin1414
    @jayvuillermin1414 2 ปีที่แล้ว

    Been watching your videos for over 10 years. Love your work mate, thank you

  • @movingforwardwithahad317
    @movingforwardwithahad317 4 ปีที่แล้ว +2

    Thank You for the awesome presentation. Really helps grasp the big picture for those who are less software inclined.

  • @jaimecarranza2509
    @jaimecarranza2509 5 ปีที่แล้ว

    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.

  • @lgrfbs
    @lgrfbs 5 ปีที่แล้ว +3

    I like MC (Midnight Commander) under Linux for file works and edit files.
    This was a good video!

  • @oris3067
    @oris3067 ปีที่แล้ว

    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 🚀🚀

  • @lsgam2061
    @lsgam2061 4 ปีที่แล้ว +2

    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.

  • @RealNaps
    @RealNaps 4 ปีที่แล้ว +2

    You thought me php, thanks alot Eli, i now make 8 figures annually

    • @DrBenway97
      @DrBenway97 4 ปีที่แล้ว +1

      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?

    • @HK-sw3vi
      @HK-sw3vi 3 ปีที่แล้ว +1

      @@DrBenway97 in his fantasy world

    • @bruhhhhh718
      @bruhhhhh718 2 ปีที่แล้ว

      what currency

  • @fakefirstnamefakelastname8305
    @fakefirstnamefakelastname8305 5 ปีที่แล้ว +2

    At this point we could just shout “SUDO UNGROUND ME” to our parents to get ungrounded

  • @MeghanLovesIceSkating
    @MeghanLovesIceSkating 5 ปีที่แล้ว +6

    Do you have a podcast? If so, where?

    • @davidkafka2452
      @davidkafka2452 5 ปีที่แล้ว

      Check out The Daily Blob on his Failed Normal channel.

  • @brandonfarfan1978
    @brandonfarfan1978 3 ปีที่แล้ว

    Thanks for the sudo lesson and showing us vim too.👍

  • @debeeriz
    @debeeriz 5 ปีที่แล้ว +3

    you should always use visudo to edit the sudoers file, because if you make a mistake it tells you

    • @baileyharrison1030
      @baileyharrison1030 5 ปีที่แล้ว +1

      and if you don't want to use vi you can always put 'export EDITOR='nano' for example in your .bashrc

    • @debeeriz
      @debeeriz 5 ปีที่แล้ว

      @@baileyharrison1030 thanks for that, i dont like vi or nano so i will try that with xed

  • @nickkettering6093
    @nickkettering6093 3 ปีที่แล้ว

    im just dabbing, just wiped an old laptop to zorin 15 and just self learning code ig. thanks, ill remember this.

  • @dilanhoshyar8511
    @dilanhoshyar8511 5 ปีที่แล้ว +1

    Thanks Eli ...,
    what is different between su and sudo? !

  • @raybuck4285
    @raybuck4285 5 ปีที่แล้ว

    thanks ....really having a better understanding thru your teachings....

  • @splash_csc8593
    @splash_csc8593 5 ปีที่แล้ว +3

    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!

  • @KowboyUSA
    @KowboyUSA 5 ปีที่แล้ว +10

    Su-Su-Sussudio

    • @freshdoug
      @freshdoug 3 ปีที่แล้ว

      What I think every time I see sudo.

  • @caseywinters3021
    @caseywinters3021 4 ปีที่แล้ว +1

    Since I’m white arnt my privileges already fully escalated?

    • @caseywinters3021
      @caseywinters3021 3 ปีที่แล้ว

      @@andrewlee4353 coca cola says don’t be a super user

  • @eirikmurito
    @eirikmurito 3 ปีที่แล้ว

    Does the meaning of the word server change depending on the context?

  • @magotelecom
    @magotelecom 2 ปีที่แล้ว

    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?

  • @cybermember2939
    @cybermember2939 4 ปีที่แล้ว +1

    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.

    • @Bearleaux
      @Bearleaux 4 ปีที่แล้ว +1

      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".

    • @cybermember2939
      @cybermember2939 4 ปีที่แล้ว

      @@Bearleaux thx bro.

  • @andrewsegarini9511
    @andrewsegarini9511 4 ปีที่แล้ว +1

    Sussudio = Substitute Super User

  • @aditya2000
    @aditya2000 5 ปีที่แล้ว +1

    Nice video

  • @effortlesssecurity2772
    @effortlesssecurity2772 4 ปีที่แล้ว

    really good!!!

  • @lolisbetternthan4785
    @lolisbetternthan4785 5 ปีที่แล้ว

    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
      @Ayyy-lmao 5 ปีที่แล้ว

      harden up and get used to it

    • @HungryGuyStories
      @HungryGuyStories 5 ปีที่แล้ว +2

      @@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.

    • @HungryGuyStories
      @HungryGuyStories 5 ปีที่แล้ว

      @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)

    • @NoEgg4u
      @NoEgg4u 5 ปีที่แล้ว +3

      @@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.

    • @baileyharrison1030
      @baileyharrison1030 5 ปีที่แล้ว

      @@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.

  • @MirkWoot
    @MirkWoot 5 ปีที่แล้ว

    id wish, that when within the time limit, you shouldn't need to type sudo infront of everything again, for that period.

  • @kadialydiaby7338
    @kadialydiaby7338 4 ปีที่แล้ว

    Hello Bob !! can you make some videos on shell Scripting?

  • @frizzleskillet18
    @frizzleskillet18 4 ปีที่แล้ว

    Imagine thinking sudo means subsistute user do.
    --this comment was posted by the super user do gang.

  • @technicalgurujidot3415
    @technicalgurujidot3415 5 ปีที่แล้ว

    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.

  • @vapornate
    @vapornate 5 ปีที่แล้ว +1

    sudoo vs sudoe

  • @technicalgurujidot3415
    @technicalgurujidot3415 5 ปีที่แล้ว

    Say something sir!

  • @DDBAA24
    @DDBAA24 5 ปีที่แล้ว

    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) .

  • @nattybuffalodread
    @nattybuffalodread 4 ปีที่แล้ว

    sudo beer

  • @nicholaslepp1502
    @nicholaslepp1502 5 ปีที่แล้ว +1

    i know apt git update lol

  • @christopheralthouse6378
    @christopheralthouse6378 5 ปีที่แล้ว

    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?!

    • @knightninja8714
      @knightninja8714 5 ปีที่แล้ว

      It might be better to post in a forum where they answer questions like yours and post whats happening on your screen.

    • @sl0w_rv3rb
      @sl0w_rv3rb 5 ปีที่แล้ว +1

      add your user to the sudoers

    • @NoEgg4u
      @NoEgg4u 5 ปีที่แล้ว +2

      @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!

    • @baileyharrison1030
      @baileyharrison1030 5 ปีที่แล้ว

      Is your user account in the 'wheel' group? I believe that is the default sudo group in ubuntu.

  • @bbolin711
    @bbolin711 5 ปีที่แล้ว

    Freeipa+sudo

  • @StuWilloughby
    @StuWilloughby 4 ปีที่แล้ว

    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.

  • @technicalgurujidot3415
    @technicalgurujidot3415 5 ปีที่แล้ว

    Please sir please

  • @bashdudy
    @bashdudy 5 ปีที่แล้ว +2

    almost 20 minutes to explain what root privilege means.
    geez

    • @jameschurch1697
      @jameschurch1697 5 ปีที่แล้ว +4

      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 .

    • @baileyharrison1030
      @baileyharrison1030 5 ปีที่แล้ว +3

      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.

    • @bashdudy
      @bashdudy 5 ปีที่แล้ว

      @@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

  • @maso8061
    @maso8061 5 ปีที่แล้ว

    1. use visudo for sudoers
    2. please be more professional on youtube movies...

    • @elithecomputerguy
      @elithecomputerguy  5 ปีที่แล้ว +1

      ???

    • @elithecomputerguy
      @elithecomputerguy  5 ปีที่แล้ว +5

      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...

    • @FirstnameLastname-fy7bl
      @FirstnameLastname-fy7bl 5 ปีที่แล้ว

      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.

  • @kadialydiaby7338
    @kadialydiaby7338 4 ปีที่แล้ว

    Hello Bob !! can you make some videos on shell Scripting?