icon DevOps on AWS Webinar Tomorrow – Reserve Your Seat Today! ENROLL NOW

“User Not in Sudoers File – Linux Sudo Permission Denied Error”

Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
linux , oracle dba
  • 16 Feb, 2026
  • 0 Comments
  • 59 Secs Read

“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
  1. Restart system
  2. Open GRUB menu
  3. Select Ubuntu line
  4. 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.

lets talk - learnomate helpdesk

Let's Talk

Find your desired career path with us!

lets talk - learnomate helpdesk

Let's Talk

Find your desired career path with us!