Debian 11 - Adding a user that's NOT in the sudoers file. This incident will be reported..

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • Today we'll fix the NOT in the sudoers file on Debian 11. This incident will be reported.. error. This happens on Debian because when you make a normal user by default that user cannot elevate privileges to a SUPER USER. We'll add a user to a group that has the privileges in Debian 11.
    My Linux Cheat Sheet and 25 Page Checklist here:
    📚 learn.savvynik...
    Share this free tool and support Small RUclipsrs
    editbulk.com
    (I made this tool to help creators)
    Want more info/content?
    savvynik.com
    Useful Links/Commands:
    Debian Website - www.debian.org/
    Discord Link - / discord
    Daily Driver [First Update] - • Arch Linux with XMonad...
    PopOS! Is It Great? - • Pop OS 20.04! - My Exp...
    DWM w/ Arch Swallows Patch - • DWM Customization - Sw...
    #linux #debian #distro
  • НаукаНаука

Комментарии • 171

  • @inside9050
    @inside9050 Год назад +11

    thanks for the perfect guide! Step by step, no unnecessary information to confuse a Debian newbie (like me), just the information I was looking for

    • @SavvyNik
      @SavvyNik  Год назад +1

      You're very welcome!

  • @hanifalfaqih
    @hanifalfaqih Год назад +1

    thank you, it's worked. im confused when first time use debian and got this problem. but now everything fine. thanks a lot!

  • @cosmicvoid2207
    @cosmicvoid2207 3 года назад +11

    If you type (su -) instead of (su) you become root and start from root's own home folder which is named root. That way you don't get those error messages which made you use sudo while being root which doesn't make sense.

    • @SavvyNik
      @SavvyNik  3 года назад

      Thanks for sharing the tip!

    • @murathancuya
      @murathancuya 2 года назад

      this is the best no need to do anything lasdfjldas. ı could not make it , in fact.

    • @collinsochieng4861
      @collinsochieng4861 2 года назад

      Thanks for the idea.

    • @rainsgooi9281
      @rainsgooi9281 2 года назад

      or sudo -i

    • @WilliamLDeRieuxIV
      @WilliamLDeRieuxIV 2 года назад +1

      You can also do (su - $USER) to reload the group information without needing to logout/reboot.
      The only downside to it is that it is only valid while you are in that terminal/su session -- it won't take affect system-wide until you log-out or reboot.
      However, there have been things I needed to do in the terminal and didn't want to reboot right then.

  • @kar0ee0m
    @kar0ee0m 2 года назад +3

    Thank you, A true hero!!

    • @SavvyNik
      @SavvyNik  2 года назад

      Glad you found the video helpful :)

  • @11paris1
    @11paris1 Год назад +1

    Big thanks from the bottom of my heart.

  • @emiit3
    @emiit3 11 месяцев назад +1

    Thank you. After hours of searching this was the only one that really helped

  • @pabloarangocorrea877
    @pabloarangocorrea877 2 года назад +5

    This is the only tutorial that worked! Thank you!

    • @SavvyNik
      @SavvyNik  2 года назад +2

      You're welcome! Glad you liked it.

    • @UltimusShadow.
      @UltimusShadow. 2 года назад +1

      @@SavvyNik Thank you also. Same as Pablo I found ’tutorials" on several sites which didn't work. This worked instantly, I use Arch - based my main rig and trying to use debian on my ancient Dell. Unlike Arch debian documentations is terrible.

  • @martinottolangui4667
    @martinottolangui4667 Год назад +1

    cheers , down the rabbit hole of linux just for a octiprint server and this def helped

  • @Greystoryteller
    @Greystoryteller Год назад +1

    Dude i am subscribing for that !

  • @geometrikselfelsefesi
    @geometrikselfelsefesi Год назад +2

    This still works on Bookworm, good video!!

  • @351cleveland8
    @351cleveland8 Год назад +1

    worked on the first try for Debian 12. thanks for the video man 👍

  • @pyro8632
    @pyro8632 Год назад +1

    Saved my life just now. Thank you! This still works on Debian 12 for anyone wondering

    • @SavvyNik
      @SavvyNik  Год назад

      Glad things worked out. Thanks for letting us know it’s still good for Deb 12

  • @360-no-scopejohnson6
    @360-no-scopejohnson6 2 года назад +1

    Very helpful! You also have a great narrator voice 👏🏼

    • @SavvyNik
      @SavvyNik  2 года назад +1

      Oh thank you! Glad you found the video helpful.

  • @aiwafag
    @aiwafag Год назад +1

    thank you very much!! worked on debian 11!

  • @HeyCodeWithMey
    @HeyCodeWithMey Месяц назад +1

    I can’t thank you enough! Your video is really helpful ❤.

  • @dr.nihilus2632
    @dr.nihilus2632 2 года назад +1

    Thanks. It's kind of annoying to have to do this on a debian VM, but that's a discussion for another day. Muchas gracias!

  • @52Drew
    @52Drew 2 года назад +1

    Thank you for the tutorial SavvyNik. Most helpful. KISS /Debian.

  • @max24p88
    @max24p88 Год назад +1

    Thank you 😀 Fantastic lesson and it works great after I restarted the laptop.

  • @vladislavkaras491
    @vladislavkaras491 2 года назад +1

    Thanks! Everything worked!

  • @earlgrey3519
    @earlgrey3519 Год назад +1

    Very VERY helpful! It worked like a charm, many thanks!

    • @SavvyNik
      @SavvyNik  Год назад +1

      Glad things worked out! No problem

  • @kiarachiara8192
    @kiarachiara8192 Год назад +1

    very helpful video, worked perfectly, thank you very much, you just won a new subscriber.

    • @SavvyNik
      @SavvyNik  Год назад +1

      Thanks for the sub!

  • @corey.morreale
    @corey.morreale 2 года назад +1

    Thanks for the video. Exactly what I needed.

    • @SavvyNik
      @SavvyNik  2 года назад +1

      You're welcome!

  • @sdfjsd
    @sdfjsd Год назад +1

    Thank you for this :)

  • @AAL2012
    @AAL2012 Год назад

    Annnnd you solved my problem! Thank you so much💯👍👍

  • @user-wr2xg6xx4i
    @user-wr2xg6xx4i 10 месяцев назад

    savvynik you are the best!!!

  • @per-arne.dahl.kristiansen
    @per-arne.dahl.kristiansen Год назад +1

    Thanks that was really fast!

  • @MarkinKkkkj
    @MarkinKkkkj 10 месяцев назад +1

    Thank you so much, you saved my life

  • @car-soap
    @car-soap 2 года назад +2

    Great video realy usefull and easy to understand

    • @SavvyNik
      @SavvyNik  2 года назад

      Glad you liked it!

  • @thelearningkid8869
    @thelearningkid8869 Год назад +1

    Thanks a lot, this helped me. Even on CentOS.

  • @nexkoservicios
    @nexkoservicios 2 года назад +1

    Thanks bro!! Great video!!

    • @SavvyNik
      @SavvyNik  2 года назад

      Glad you liked it! No problem.

  • @samuelavril6548
    @samuelavril6548 Год назад +1

    Thanks for this video. It really helped me with a homework :)

  • @user-ih7ot7vl8u
    @user-ih7ot7vl8u 3 года назад +2

    Thank you for your tutorial and offert ♥️

    • @SavvyNik
      @SavvyNik  3 года назад +2

      You’re welcome 😊 appreciate the kind remarks!

  • @Adiusza
    @Adiusza Год назад +1

    Thanks , you helped me a lot :D

  • @RosMyster
    @RosMyster Год назад +1

    Great job!

  • @gamalabdelrahman769
    @gamalabdelrahman769 2 года назад +1

    Wow 😯😯
    Thank you so much for helping me out with this problem

    • @SavvyNik
      @SavvyNik  2 года назад +1

      Glad you like it!

    • @gamalabdelrahman769
      @gamalabdelrahman769 2 года назад

      @@SavvyNik very helpful video, thanks again 👌❤️

  • @realMenta
    @realMenta Год назад +1

    Thanks for the simple guide (that other's resources don't do) Thanks!

    • @SavvyNik
      @SavvyNik  Год назад

      No problem, glad you liked it :)

  • @angelcarrasquillo9450
    @angelcarrasquillo9450 2 года назад +1

    Hi Yes!!!!!!! This is the only tutorial that worked! Thank you!

  • @dariorey8092
    @dariorey8092 2 года назад +1

    Thank you so much!! Excelent video!

    • @SavvyNik
      @SavvyNik  2 года назад

      You're very welcome!

  • @daphnelhunt
    @daphnelhunt Год назад +1

    Step by step! Thank you!

  • @fatimazahramoutaki4892
    @fatimazahramoutaki4892 Год назад +1

    thank you so much it was really useful

  • @OutsidersRo
    @OutsidersRo 2 года назад +4

    Thank you! Great and very simple tutorial!

    • @SavvyNik
      @SavvyNik  2 года назад

      You're welcome. I'm glad you liked the video!

  • @joevanisebuguero6384
    @joevanisebuguero6384 2 года назад +2

    ok,, you got my subscription.

    • @SavvyNik
      @SavvyNik  2 года назад

      Sweet! Glad to have you following.

  • @goran.jovanovic
    @goran.jovanovic 10 месяцев назад +1

    Damm.....restart...tnx Nik really Savvy

  • @collinsochieng4861
    @collinsochieng4861 2 года назад +1

    Thank you for the tutorial it worked.

    • @SavvyNik
      @SavvyNik  2 года назад

      You're welcome! Glad you liked the video.

  • @jean-michelb7290
    @jean-michelb7290 2 года назад +1

    its broken... i use debian for many years now... i can't believe this simple adduser user sudo aknowledge the user is in the sudoer but a simple sudo apt update telling you the user has no sudo privilege....

  • @m_surowczyk
    @m_surowczyk 2 года назад +1

    You are my hero, Man! Sub

    • @SavvyNik
      @SavvyNik  2 года назад +1

      Glad you found the video helpful :)

  • @andre.s.a
    @andre.s.a Год назад +1

    Thank you so much!!

  • @pyromover6154
    @pyromover6154 Год назад +1

    alls i can say is linux has been an adventure for me just getting nvidia drivers was a chore for me still better then microsoft im gonna load it onto an xp machine

  • @xiangqu
    @xiangqu Год назад +1

    awesome!

  • @Sonic-Pristine
    @Sonic-Pristine Год назад +1

    THANKYOU SIR😌

  • @JarateBop
    @JarateBop Год назад +1

    Thank you!

  • @rvlsan
    @rvlsan Год назад +1

    You got my like men o/
    i need only the su root command to work the others commands xD

  • @simon80715
    @simon80715 Год назад +1

    great, thanks!

  • @mrizqighana
    @mrizqighana 2 года назад +1

    It works on me, thanks a lot!

    • @SavvyNik
      @SavvyNik  2 года назад

      You're welcome! Glad it helped.

  • @andrewbocho3896
    @andrewbocho3896 Год назад +1

    Thank you very much.

  • @chinpandolfo6602
    @chinpandolfo6602 2 года назад +1

    que grande amigo si me sirvio !, muchas gracias

    • @SavvyNik
      @SavvyNik  2 года назад

      You're welcome :)

  • @R03M
    @R03M 2 года назад +1

    Thank so much!

  • @moonzdrop9811
    @moonzdrop9811 Год назад +1

    Thank youuu❤❤

  • @shoukokomi8081
    @shoukokomi8081 2 года назад +1

    Thank you!!!

  • @DevMode951
    @DevMode951 3 года назад +1

    wow the test iso for this worked awsome

    • @SavvyNik
      @SavvyNik  3 года назад

      Glad to hear

    • @DevMode951
      @DevMode951 3 года назад

      @@SavvyNik I did this the regular way without skipping the first login and pswrd

    • @DevMode951
      @DevMode951 3 года назад

      I still can't say if I like vimware or virtual box better

  • @full_dinamo_double
    @full_dinamo_double 2 года назад +1

    thank you, im new to linux this was helpfull. Do you have anything about non-free firmware and driver updates?

    • @SavvyNik
      @SavvyNik  2 года назад

      You're welcome. No I don't currently.

  • @giancarlomayen1298
    @giancarlomayen1298 Год назад +1

    gracias, funciono😄

  • @WichtaNE_
    @WichtaNE_ 2 года назад +1

    thank you!!!

  • @tzaswit
    @tzaswit Год назад +1

    Thanks mate

  • @Sergioalv
    @Sergioalv 2 года назад +1

    ¡Gracias! :D

  • @DevMode951
    @DevMode951 3 года назад +1

    Holy crap it worked again

  • @Suver7
    @Suver7 Год назад +1

    thanks you!!!

  • @mohamedsadatehini6521
    @mohamedsadatehini6521 Год назад +1

    thank you very much

  • @cosmicvoid2207
    @cosmicvoid2207 3 года назад +1

    What happened to the "wheel" group ??! Is Debian different?

    • @SavvyNik
      @SavvyNik  3 года назад

      You can add it in, but yes they have a different philosophy.

  • @williamboucher-goyette7785
    @williamboucher-goyette7785 Год назад +1

    Thank youuuuu

  • @nischalbohara9854
    @nischalbohara9854 Год назад +1

    thanks a lot

  • @ravipatel_776
    @ravipatel_776 2 года назад +1

    thank you

  • @dailynotes2845
    @dailynotes2845 Год назад

    Thank God you exist; and I'm an atheist!

  • @tomaszpobuta959
    @tomaszpobuta959 11 месяцев назад +1

    i love you

  • @cameronmoore136
    @cameronmoore136 Год назад

    I get "su: Authentication Failure" when I try the "su root" command.

  • @SrijavBhattarai-fq2nx
    @SrijavBhattarai-fq2nx Год назад

    but when i typed su root its showing su: authentication failure

  • @controversialgaming8553
    @controversialgaming8553 2 года назад +1

    Bro,can we create folders on desktop in debian?Coz i am not able to create any kinda of folder on desktop 😅😅

    • @SavvyNik
      @SavvyNik  2 года назад

      You cannot add stuff to the desktop background by default in Debian's GNOME setup. You can enable this feature by downloading GNOME Tweaks.

  • @PoProstu_Ameryka
    @PoProstu_Ameryka 2 года назад +1

    Thank you for tutorial. But why do I need to use sudo even when I am logged as root?

    • @SavvyNik
      @SavvyNik  2 года назад +1

      No need to. Typically logging in as root is not a good idea, just in case someone else has access to your system and that would cause issues. That's why sudo is used so that you can issue elevated privileges from other users without having to login as root.

    • @PoProstu_Ameryka
      @PoProstu_Ameryka 2 года назад +1

      @@SavvyNik Thank you for reply:) But when I type "visudo" even when I am logged as root, the command is not found. I need to write "sudo visudo", otherwise it won't work even when I am logged as a root by using su root;/ Maybe just my misconception?

    • @SavvyNik
      @SavvyNik  2 года назад +1

      The program/app is actual sudo so sudo visudo is correct that means use the sudo app and edit it with the switch/command visudo "visual sudo" and it load a default editor so you can edit the config file for sudo.

  • @seabreeze9296
    @seabreeze9296 Год назад

    definitely something wrong with my version of Debian LOL. Debian will not allow me to add myself to the list of sudoers because i'm "not in the list of sudoers" lol

    • @SavvyNik
      @SavvyNik  Год назад

      Try and login with the root user - su

  • @mpr3308
    @mpr3308 2 года назад

    Si me funcionó, no olviden reiniciar para que le den los permisos sobre sudo.

  • @ginocoloog8321
    @ginocoloog8321 2 года назад +1

    Thanks for help me fix my sudo on my fresh debian 11 machine. Like & subscribe

  • @magotelecom
    @magotelecom 2 года назад

    Thanks very much. However I get usermod: command not found?

  • @DevMode951
    @DevMode951 3 года назад +1

    Lmfao!!! Linux is telling

    • @SavvyNik
      @SavvyNik  3 года назад

      Be careful.. incidents will be reported! haha

  • @tnuoccaelgoog5646
    @tnuoccaelgoog5646 9 месяцев назад

    great Thanks it worked, but when I want to log in from the main panel with the name root user, this clown tells me that the password is wrong, why??

  • @dwirahmatsaputra3434
    @dwirahmatsaputra3434 9 месяцев назад

    thanks bang

  • @hackonesx
    @hackonesx 2 года назад

    It says Su- authentication failure

  • @elias1523f
    @elias1523f Год назад +1

    thx

  • @positivehindistories
    @positivehindistories Год назад

    Am trying to follow all steps but it is not working with me. I have mailed you with screenshot you’ll get all clarification. I know you have a solution of my problem. I want to install OBS in Debian server, pls help me am your subscriber from India.

  • @DevMode951
    @DevMode951 3 года назад

    I'm litteraly downloading this again

  • @JonDoe-gi5zf
    @JonDoe-gi5zf 8 месяцев назад

    I like it

  • @alekspetrov7191
    @alekspetrov7191 Год назад

    didnt work

  • @jeisson42
    @jeisson42 Год назад

    I couldn't do it. I feel dumb😢

  • @anonymousjones4016
    @anonymousjones4016 2 года назад

    Hi and thanks for all your videos. They've truly helped me get my bearings around this Debian Linux derivatives. Jay, I installed Debian 11 BullsEye as a pre-requisite to hardened my OS. Now, if I had a choice of which OS to harden, I would like my rig's main OS to be Arch Linux and leverage KickSecure security hardening scripts to then load a HyperVisor to host WHONIX Gateway to route my Kali, Black Arch and Parrot linux VMs through. :) Can you, create a how to for this? I got Black Arch installed, but got stumped in trying to "morph it to Parabola" or "Hyperbola", so I gave in and re-imaged my rig with Debian 11 BullsEye, just to also get stumped installing the deb packages that convert the pre-installed Debian 11 BullsEye or, as in my preference - Arch Linux. Can you, please, do a how to convert an Arch Linux OS host to KickSecure using the deb packages? Please & thanks in advance! - Anonymous Jones

  • @cypher0124
    @cypher0124 2 месяца назад

    this issue made me wipe debian for Mint real fast.

  • @DevMode951
    @DevMode951 3 года назад

    OK I'm about to copy you

  • @yumyum3242
    @yumyum3242 3 года назад

    😋

  • @ian-0
    @ian-0 2 года назад

    Ctrl+Alt+T brings up terminal too

  • @anuragtiwari6933
    @anuragtiwari6933 Год назад +1

    Thank you. It worked out!!!

  • @nasrajama3544
    @nasrajama3544 Год назад

    This is really helpful thank you

  • @it-ezmin3510
    @it-ezmin3510 2 года назад +1

    Thank you!