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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 มี.ค. 2023
  • 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.buymeacoffee.com/GEEKRAR
    / geekrar
    🔔 Subscribe for more guides & tips th-cam.com/users/UC8nPzCD2eVsW...
    My Other Channels
    🎬 GEEKrar Main Channel: / geekrar
    🎬 GEEKrar OpenBox Shorts: tinyurl.com/GKRshorts
    🎬 CryptoJar: tinyurl.com/CryptoJar
    #geekrarguides

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

  • @eric2923
    @eric2923 4 หลายเดือนก่อน +12

    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 4 หลายเดือนก่อน +1

      it helped! Thanks a ton dear!

    • @zackbell3520
      @zackbell3520 4 หลายเดือนก่อน +1

      Thank you! You are amazing!

    • @chocmoose18
      @chocmoose18 3 หลายเดือนก่อน +1

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

    • @sebastianlopezmaciel8552
      @sebastianlopezmaciel8552 2 หลายเดือนก่อน +1

      u saved me dude ,thx

    • @jawadazaki
      @jawadazaki 16 วันที่ผ่านมา

      you're a life saver

  • @edgyanddontcare
    @edgyanddontcare 11 หลายเดือนก่อน +20

    why my shift not work ??

  • @maverick19702000
    @maverick19702000 3 หลายเดือนก่อน

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

  • @Carseds
    @Carseds 8 หลายเดือนก่อน +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 !!!

  • @PRANESHR-nx3bf
    @PRANESHR-nx3bf 10 หลายเดือนก่อน

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

  • @duppy9012
    @duppy9012 ปีที่แล้ว +20

    Holding shift doesnt open bios for me

    • @albertwesker828
      @albertwesker828 11 หลายเดือนก่อน +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 11 หลายเดือนก่อน +2

      Or hold just second when u are starting the machine

    • @mipfusion2630
      @mipfusion2630 10 หลายเดือนก่อน

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

    • @mipfusion2630
      @mipfusion2630 10 หลายเดือนก่อน

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

    • @412hack8
      @412hack8 9 หลายเดือนก่อน

      @@albertwesker828 f12 is just opening a bootable device list

  • @anothyuer
    @anothyuer 10 หลายเดือนก่อน

    this was incredibly helpful! thanks a ton

  • @AnmolKumar-hl8ym
    @AnmolKumar-hl8ym 11 หลายเดือนก่อน

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

  • @elmekkaoui78
    @elmekkaoui78 5 หลายเดือนก่อน

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

  • @almnjoy20
    @almnjoy20 9 หลายเดือนก่อน

    Thank you! This was extremely helpful

  • @alduraji
    @alduraji 9 หลายเดือนก่อน +2

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

  • @Volt420-pv8lo
    @Volt420-pv8lo ปีที่แล้ว

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

  • @02govindjadhav.47
    @02govindjadhav.47 หลายเดือนก่อน

    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.

  • @guymerritt4860
    @guymerritt4860 8 หลายเดือนก่อน +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 2 หลายเดือนก่อน

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

  • @MustafaPoonawala-jj8sk
    @MustafaPoonawala-jj8sk 11 หลายเดือนก่อน +1

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

  • @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 11 หลายเดือนก่อน +4

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

    • @aduabbasi192
      @aduabbasi192 10 หลายเดือนก่อน

      ​@@aRoUnDTEc0rNeRthanks

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

  • @bluemags5068
    @bluemags5068 10 หลายเดือนก่อน

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

  • @weiwei3058
    @weiwei3058 3 หลายเดือนก่อน

    very helpful! Thanks a lot

  • @RukmoddinPatel-bs2lq
    @RukmoddinPatel-bs2lq 11 หลายเดือนก่อน +1

    Worked thanku👍🏻

  • @UpdulLatiph
    @UpdulLatiph 3 หลายเดือนก่อน

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

  • @jjab123
    @jjab123 11 หลายเดือนก่อน +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 10 หลายเดือนก่อน +3

      You must press 'shift' when in Ubuntu window

  • @genesisflorento1805
    @genesisflorento1805 5 หลายเดือนก่อน

    Thank you very much!

  • @zackbell3520
    @zackbell3520 4 หลายเดือนก่อน

    Thank you!

  • @princeenenta9841
    @princeenenta9841 วันที่ผ่านมา

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

  • @fernandomarquesdesouza3576
    @fernandomarquesdesouza3576 9 หลายเดือนก่อน

    Thanks, it's work 🤝

  • @user-iz8qj7lg7w
    @user-iz8qj7lg7w 8 หลายเดือนก่อน

    Thanks, worked.

  • @MrHenriqueon
    @MrHenriqueon 10 หลายเดือนก่อน

    Muito Obrigado!

  • @fernandocabral369
    @fernandocabral369 5 หลายเดือนก่อน

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

  • @MarionMundara
    @MarionMundara 3 หลายเดือนก่อน

    Thank you so much. It worked for me

  • @yjaeger3605
    @yjaeger3605 8 หลายเดือนก่อน +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

  • @p1g3on30_7
    @p1g3on30_7 7 หลายเดือนก่อน

    Worked perfectly for debian 12

  • @celsoandre1069
    @celsoandre1069 7 หลายเดือนก่อน

    salou demais. muito obrigado!!

  • @hariprasadenamala
    @hariprasadenamala 17 ชั่วโมงที่ผ่านมา

    Thank you so much sir. It worked

  • @isaacoluseye-paul8472
    @isaacoluseye-paul8472 ปีที่แล้ว

    God bless you bro

  • @MrNyten
    @MrNyten 14 วันที่ผ่านมา

    Thanks alot its work❤

  • @user-bi7iw6on6d
    @user-bi7iw6on6d 9 หลายเดือนก่อน

    is doing this will delete my files in the desktop?

  • @LEVI-hv8dw
    @LEVI-hv8dw 8 หลายเดือนก่อน

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

  • @datkirby9354
    @datkirby9354 4 หลายเดือนก่อน

    thanks man 👍

  • @quinta_do_sol_nascente
    @quinta_do_sol_nascente 7 หลายเดือนก่อน +1

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

    • @diggitycrypto7717
      @diggitycrypto7717 6 หลายเดือนก่อน

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

  • @AhMeDGaMaL-wm8zp
    @AhMeDGaMaL-wm8zp 8 หลายเดือนก่อน

    It works.
    May thanks

  • @mohammadrasoolnasrat2651
    @mohammadrasoolnasrat2651 11 หลายเดือนก่อน

    Thanks

  • @IsraelKabembamulolo
    @IsraelKabembamulolo 5 หลายเดือนก่อน

    Thanks you

  • @frequencyofabundance
    @frequencyofabundance 8 หลายเดือนก่อน

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

  • @KaloyanKostadinov
    @KaloyanKostadinov 8 หลายเดือนก่อน

    holding shift key does nothing

    • @mikedude2724
      @mikedude2724 8 หลายเดือนก่อน

      try hiting the right shift key

  • @Arad-xk6lo
    @Arad-xk6lo 10 หลายเดือนก่อน

    thanks

  • @ahmedamjad8114
    @ahmedamjad8114 4 หลายเดือนก่อน

    Arigato guzaimus

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

  • @bomran25
    @bomran25 4 หลายเดือนก่อน

    Lenovo Laptops Presss F2 Will working.

  • @celloprof
    @celloprof 9 หลายเดือนก่อน

    This one worked... hmm

  • @ivan_chib5753
    @ivan_chib5753 6 หลายเดือนก่อน

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

    • @gaurangshahblr
      @gaurangshahblr 5 หลายเดือนก่อน

      Do you know how to proceed from here?

  • @prasadonride
    @prasadonride 4 หลายเดือนก่อน

    100 % work this trick