“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:
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 /sbin/reboot -f
Important
After reboot, login and test:
sudo su -
Conclusion
If you want to build a strong career as an Oracle DBA, mastering Linux is not optional — it is essential. Combining Linux expertise with Oracle database administration skills makes you highly valuable in the IT industry.
Start learning Linux today and strengthen your Oracle DBA foundation.





