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
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
why my shift not work ??
Awesome dude... I am new to Ubuntu and ran into this exact problem. You fixed me up. Thank you!!
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 !!!
thank u so much you are really awesome dude🤠 .keep uploading !!!
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
this was incredibly helpful! thanks a ton
Thank you so much 🙏🙏, I tried lot from so many videos but finally landed here and got fix that 🎉
Thank you, Sir
hi, i am using vsphere how can i access the advanced options??
Thank you! This was extremely helpful
group sudo does not exist?? goodness i really broke it this time
Thank you soo much i watched many videos this is the only one that worked thank you
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.
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
Thank you soo much. This worked 🙏🙏🙏🙏🙏🙏
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
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
thanks, (Btw for some computers is not the Escape key not Tab)
very helpful! Thanks a lot
Worked thanku👍🏻
hello pls am not to do it cos my shift key is not responding to it
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
Thank you very much!
Thank you!
tnx a lot.. been fighting this for weeks. now it works i really appreciate
Thanks, it's work 🤝
Thanks, worked.
Muito Obrigado!
Thank you so much, it's run in my PC.
Thank you so much. It worked for me
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
Worked perfectly for debian 12
salou demais. muito obrigado!!
Thank you so much sir. It worked
God bless you bro
Thanks alot its work❤
is doing this will delete my files in the desktop?
respond plzzz
Thanks dude .........even my trainer didn't knew this😂
thanks man 👍
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.
It works.
May thanks
Thanks
Thanks you
Muchas gracias, vi tantos videos en español y ninguno me dio solución
holding shift key does nothing
try hiting the right shift key
thanks
Arigato guzaimus
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
Lenovo Laptops Presss F2 Will working.
This one worked... hmm
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?
100 % work this trick