FIXED: User is not in the sudoers file. This incident will be reported

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • I came across this error message "user is not in the sudoers file. This incident will be reported" during a recent unattended installation of Ubuntu. This seems to be an error message users will get with other versions of Linux, and should be resolved in the same way.
    Error Message:
    user is not in the sudoers file, this incident will be reported
    user is not in the sudoers file
    this incident will be reported
    Commands Used:
    mount -o rw,remount /
    usermod -aG sudo your user
    ===============================
    Other popular videos:
    Big Sur on VirtualBox: • How to Install Big Sur...
    Android on VirtualBox: • How to Install Android...
    Kali Linux on VirtualBox: • How to Install Kali Li...
    Ubuntu on VirtualBox: • How to Install Ubuntu ...
    Monterey on VMWare: • How to Install macOS M...
    Ubuntu on VMWare: • How to Install Ubuntu ...
    ===============================
    Connect with Me
    ▶ Blog: www.geekrar.com
    ▶ Twitter: Geekrar
    ▶ Instagram: geekrar.official
    ▶ Email: contact@geekrar.com
    ===============================
    Support Me ... Like, Share, Subscribe!
    Methods of support:
    www.buymeacoff...
    / geekrar
    🔔 Subscribe for more guides & tips www.youtube.co...
    My Other Channels
    🎬 GEEKrar Main Channel: / geekrar
    🎬 GEEKrar OpenBox Shorts: tinyurl.com/GK...
    🎬 CryptoJar: tinyurl.com/Cr...
    #geekrarguides

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

  • @eric2923
    @eric2923 5 месяцев назад +15

    For the "Shift" issue, I am using VirtualBox and shift was not capturing automatically. Fix: power of vm, click "start", wait till "show" pops up and click it, then hold "shift" down. Shift won't get captured until after you click on the "Show" button. Hope this helps someone else noobin it up like I was.

    • @ummeafifa3735
      @ummeafifa3735 5 месяцев назад +1

      it helped! Thanks a ton dear!

    • @zackbell3520
      @zackbell3520 5 месяцев назад +1

      Thank you! You are amazing!

    • @chocmoose18
      @chocmoose18 4 месяца назад +1

      Thank you so much! I couldn't figure out what I was doing wrong. : )

    • @sebastianlopezmaciel8552
      @sebastianlopezmaciel8552 3 месяца назад +1

      u saved me dude ,thx

    • @jawadazaki
      @jawadazaki Месяц назад

      you're a life saver

  • @duppy9012
    @duppy9012 Год назад +20

    Holding shift doesnt open bios for me

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

      press F12 when virtualbox boots the machine (you have to be very quck to click in and press the key)

    • @RukmoddinPatel-bs2lq
      @RukmoddinPatel-bs2lq Год назад +2

      Or hold just second when u are starting the machine

    • @mipfusion2630
      @mipfusion2630 11 месяцев назад

      It does I just figured out don't use full screen

    • @mipfusion2630
      @mipfusion2630 11 месяцев назад

      It does I just figured out don't use full screen

    • @412hack8
      @412hack8 10 месяцев назад

      @@albertwesker828 f12 is just opening a bootable device list

  • @guymerritt4860
    @guymerritt4860 9 месяцев назад +5

    Man - I'm 71 and tired.....you just helped me a lot. The big question: I've used VirtualBox before and it's never done this - what the hell caused this? Your fix did the trick, anyway.

    • @denj4s
      @denj4s 3 месяца назад

      you are very brave to touch software like this one with 71

  • @edgyanddontcare
    @edgyanddontcare Год назад +23

    why my shift not work ??

  • @user-nt1bb1lu2q
    @user-nt1bb1lu2q 11 месяцев назад +1

    Log in as root. Then do:
    usermod -aG wheel
    but replace with the name of the user you want to have sudo access
    The -a flag tells usermod to append the user to the group (without removing them from other groups).
    The -G wheel specifies the "wheel" group.
    Verify that is part of wheel group:
    groups
    Log in as and test sudo access using:
    sudo ls

  • @ahmadfaraz9279
    @ahmadfaraz9279 4 месяца назад

    When shift is not working, follow the instruction below:
    1. Open terminal.
    2. Type "su root" in the terminal and press enter
    3. You will be asked to enter the password. Type the password and press enter. You will be moved to root.
    4.Type "usermod -aG sudo ". Add your username, and enter. Nothing will happend. You will move to next line without any error.
    5. Reboot/Restart the os.
    6. try to do whatever you were doing earlier

  • @02govindjadhav.47
    @02govindjadhav.47 2 месяца назад

    Thank you!
    This video helped.
    I had a unique problem.
    I tried running a command with sudo, but i wasn't in the sudoers file.
    On top of that, i didn't set password for root.
    So, now i'm not able to add myself to sudoers because i cannot become root.
    Gaining access to the root shell using advanced options for ubuntu helped.

  • @princeenenta9841
    @princeenenta9841 28 дней назад

    tnx a lot.. been fighting this for weeks. now it works i really appreciate

  • @Orax1
    @Orax1 9 месяцев назад +1

    Thank you so much I sat for hours searching the internet for a solution!!! It is the middle of the night and i can finally go to sleep now. THANK YOU !!!

  • @maverick19702000
    @maverick19702000 4 месяца назад

    Awesome dude... I am new to Ubuntu and ran into this exact problem. You fixed me up. Thank you!!

  • @skverskk
    @skverskk Год назад +3

    Holding down shift key doesn;t work for me either. Ubuntu 22.04 and Virtual Box 7,0 running on a win 10 computer. :(

    • @aRoUnDTEc0rNeR
      @aRoUnDTEc0rNeR Год назад +4

      Shift was not working for me either. ESC seems to work instead.

    • @aduabbasi192
      @aduabbasi192 11 месяцев назад

      ​@@aRoUnDTEc0rNeRthanks

  • @alduraji
    @alduraji 9 месяцев назад +2

    group sudo does not exist?? goodness i really broke it this time

  • @hariprasadenamala
    @hariprasadenamala 28 дней назад

    Thank you so much sir. It worked

  • @PRANESHR-nx3bf
    @PRANESHR-nx3bf 11 месяцев назад

    thank u so much you are really awesome dude🤠 .keep uploading !!!

  • @almnjoy20
    @almnjoy20 10 месяцев назад

    Thank you! This was extremely helpful

  • @anothyuer
    @anothyuer 11 месяцев назад

    this was incredibly helpful! thanks a ton

  • @MarionMundara
    @MarionMundara 4 месяца назад

    Thank you so much. It worked for me

  • @MustafaPoonawala-jj8sk
    @MustafaPoonawala-jj8sk Год назад +1

    Thank you soo much. This worked 🙏🙏🙏🙏🙏🙏

  • @AnmolKumar-hl8ym
    @AnmolKumar-hl8ym Год назад

    Thank you so much 🙏🙏, I tried lot from so many videos but finally landed here and got fix that 🎉
    Thank you, Sir

  • @weiwei3058
    @weiwei3058 4 месяца назад

    very helpful! Thanks a lot

  • @Volt420-pv8lo
    @Volt420-pv8lo Год назад

    Thank you soo much i watched many videos this is the only one that worked thank you

  • @MrNyten
    @MrNyten Месяц назад

    Thanks alot its work❤

  • @p1g3on30_7
    @p1g3on30_7 8 месяцев назад

    Worked perfectly for debian 12

  • @LEVI-hv8dw
    @LEVI-hv8dw 8 месяцев назад

    Thanks dude .........even my trainer didn't knew this😂

  • @RukmoddinPatel-bs2lq
    @RukmoddinPatel-bs2lq Год назад +1

    Worked thanku👍🏻

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

    Holding down the shift key also does not work for me.What could be the issue? Please respond

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

      someone said the hold F12 and it worked for me

    • @MrHenriqueon
      @MrHenriqueon 11 месяцев назад +3

      You must press 'shift' when in Ubuntu window

  • @yjaeger3605
    @yjaeger3605 9 месяцев назад +1

    how do u exit the Give root password for maintenance? When I enter that part it keeps asking me to give a password and doesn't give me the cance to input the command. I'm talking abut minute 1:30

  • @Nagbabagang
    @Nagbabagang 6 месяцев назад

    Thank you very much!

  • @fernandocabral369
    @fernandocabral369 6 месяцев назад

    Thank you so much, it's run in my PC.

  • @quinta_do_sol-Sol-Organico-Lar
    @quinta_do_sol-Sol-Organico-Lar 8 месяцев назад +1

    sorry to say but hold every key include @ shift keys but the ubuntu always load normally

    • @diggitycrypto7717
      @diggitycrypto7717 7 месяцев назад

      Make it full window mode, before. Had the same issue.

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

    Thanks, it's work 🤝

  • @bluemags5068
    @bluemags5068 10 месяцев назад

    thanks, (Btw for some computers is not the Escape key not Tab)

  • @user-iz8qj7lg7w
    @user-iz8qj7lg7w 9 месяцев назад

    Thanks, worked.

  • @zackbell3520
    @zackbell3520 5 месяцев назад

    Thank you!

  • @datkirby9354
    @datkirby9354 5 месяцев назад

    thanks man 👍

  • @elmekkaoui78
    @elmekkaoui78 6 месяцев назад

    hi, i am using vsphere how can i access the advanced options??

  • @ahmedamjad8114
    @ahmedamjad8114 5 месяцев назад

    Arigato guzaimus

  • @isaacoluseye-paul8472
    @isaacoluseye-paul8472 Год назад

    God bless you bro

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

    holding shift key does nothing

    • @mikedude2724
      @mikedude2724 8 месяцев назад

      try hiting the right shift key

  • @AhMeDGaMaL-wm8zp
    @AhMeDGaMaL-wm8zp 8 месяцев назад

    It works.
    May thanks

  • @MrHenriqueon
    @MrHenriqueon 11 месяцев назад

    Muito Obrigado!

  • @IsraelKabembamulolo
    @IsraelKabembamulolo 6 месяцев назад

    Thanks you

  • @celsoandre1069
    @celsoandre1069 8 месяцев назад

    salou demais. muito obrigado!!

  • @UpdulLatiph
    @UpdulLatiph 4 месяца назад

    hello pls am not to do it cos my shift key is not responding to it

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

    Muchas gracias, vi tantos videos en español y ninguno me dio solución

  • @bomran25
    @bomran25 5 месяцев назад

    Lenovo Laptops Presss F2 Will working.

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

    is doing this will delete my files in the desktop?

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

    Thanks

  • @Arad-xk6lo
    @Arad-xk6lo 11 месяцев назад

    thanks

  • @ivan_chib5753
    @ivan_chib5753 7 месяцев назад

    After entering the password, without displaying the root@ubuntu command, it asks you to enter the password again.

    • @gaurangshahblr
      @gaurangshahblr 6 месяцев назад

      Do you know how to proceed from here?

  • @celloprof
    @celloprof 10 месяцев назад

    This one worked... hmm

  • @prasadonride
    @prasadonride 5 месяцев назад

    100 % work this trick