Như các bạn đã biết, một số quyền trong linux chỉ chạy được khi bạn là root user hoặc bạn có quyền sudo, nếu không có quyền mà bạn chạy lệnh sudo thì hệ thống sẽ báo lỗi như bên dưới.
[delete@node1 ~]$ sudo dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpmWe trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for delete:
delete is not in the sudoers file. This incident will be reported.
user DELETE không có quyền sudo vì không nằm trong sudoers.
Thêm vào nhóm:
Bạn login vào user root và thực hiện sửa thông tin file sudoers, thêm vào dòng dưới dòng root
vi /etc/sudoers

Lưu lại và thoát ra, đăng nhập vào user delete => kiểm tra:
[delete@node1 ~]$ sudo dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm [sudo] password for delete:Last metadata expiration check: 0:02:11 ago on Mon 20 May 2024 01:43:03 PM +07.
pgdg-redhat-repo-latest.noarch.rpm 13 kB/s | 15 kB 00:01
Dependencies resolved.
Chạy thành công.
- Q135 Which two are true about a SQL statement using SET operators such as UNION?
- Postgresql-contrib là gì?
- Q14. Which two statements are true about the SET VERIFY ON command?
- Fine-Grained Auditing (FGA) trong Oracle Database
- Q37 Which three statements are true about advanced connection options supported by Oracle Net for connection to Oracle Database instances?

WooCommerce Account Funds
Gravity Forms User Registration Addon
WooCommerce Authorize.Net DPM
YITH WooCommerce Membership Premium
Gravity Forms Paypal Payments Standard Addon
Flatsome | Multi-Purpose Responsive WooCommerce Theme 3.19.7
Gravity Forms Paypal Payments Pro Addon
Karenderia Multiple