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
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.
it helped! Thanks a ton dear!
Thank you! You are amazing!
Thank you so much! I couldn't figure out what I was doing wrong. : )
u saved me dude ,thx
you're a life saver
Holding shift doesnt open bios for me
press F12 when virtualbox boots the machine (you have to be very quck to click in and press the key)
Or hold just second when u are starting the machine
It does I just figured out don't use full screen
It does I just figured out don't use full screen
@@albertwesker828 f12 is just opening a bootable device list
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.
you are very brave to touch software like this one with 71
why my shift not work ??
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
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
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.
tnx a lot.. been fighting this for weeks. now it works i really appreciate
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 !!!
Awesome dude... I am new to Ubuntu and ran into this exact problem. You fixed me up. Thank you!!
Holding down shift key doesn;t work for me either. Ubuntu 22.04 and Virtual Box 7,0 running on a win 10 computer. :(
Shift was not working for me either. ESC seems to work instead.
@@aRoUnDTEc0rNeRthanks
group sudo does not exist?? goodness i really broke it this time
Thank you so much sir. It worked
thank u so much you are really awesome dude🤠 .keep uploading !!!
Thank you! This was extremely helpful
this was incredibly helpful! thanks a ton
Thank you so much. It worked for me
Thank you soo much. This worked 🙏🙏🙏🙏🙏🙏
Thank you so much 🙏🙏, I tried lot from so many videos but finally landed here and got fix that 🎉
Thank you, Sir
very helpful! Thanks a lot
Thank you soo much i watched many videos this is the only one that worked thank you
Thanks alot its work❤
Worked perfectly for debian 12
Thanks dude .........even my trainer didn't knew this😂
Worked thanku👍🏻
Holding down the shift key also does not work for me.What could be the issue? Please respond
someone said the hold F12 and it worked for me
You must press 'shift' when in Ubuntu window
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
How did you proceed? Stuck at the same place
Same bro
Thank you very much!
Thank you so much, it's run in my PC.
sorry to say but hold every key include @ shift keys but the ubuntu always load normally
Make it full window mode, before. Had the same issue.
Thanks, it's work 🤝
thanks, (Btw for some computers is not the Escape key not Tab)
Thanks, worked.
Thank you!
thanks man 👍
hi, i am using vsphere how can i access the advanced options??
Arigato guzaimus
God bless you bro
holding shift key does nothing
try hiting the right shift key
It works.
May thanks
Muito Obrigado!
Thanks you
salou demais. muito obrigado!!
hello pls am not to do it cos my shift key is not responding to it
Muchas gracias, vi tantos videos en español y ninguno me dio solución
Lenovo Laptops Presss F2 Will working.
is doing this will delete my files in the desktop?
respond plzzz
Thanks
thanks
After entering the password, without displaying the root@ubuntu command, it asks you to enter the password again.
Do you know how to proceed from here?
This one worked... hmm
100 % work this trick