User Not in Sudoers File
“User Not in Sudoers File – Linux Sudo Permission Denied Error” Introduction While working as an Oracle DBA , especially during Oracle Grid Infrastructure or Database installation, you may encounter this common Linux error: learnomate is not in the sudoers file. This incident will be reported. This error typically appears when trying to execute administrative commands using sudo in Linux , but the user does not have proper sudo privileges. Solution: You need to boot into GRUB → edit mode Restart system Open GRUB menu Select Ubuntu line Press e (edit) Now find this line: linux /boot/vmlinuz.... At the end of that line, replace: ro quiet splash with: rw init=/bin/bash Then boot using: ✅ Ctrl + X or F10 ✅ After boot you will get root shell directly Now run: 1) Remount properly mount -o remount,rw / 2) Set root password passwd root 3) Give sudo access to your user usermod -aG sudo learnomate 4) Reboot exec /...