Yes, there is a way to restrict this behaviour. This behaviour of su is governed by the PAM module (Plugable Authentication Module):
You must edit /etc/pam.d/su
comment the line :
auth sufficient pam_rootok.so
like this:
#auth sufficient pam_rootok.so
after that su from root will ask for the user password.
Wednesday, April 4, 2018
How to restrict su from root-to-nis-clients
Subscribe to:
Post Comments (Atom)
Oracle Database 19c Installation on Oracle Linux 7
Pre-installation settings before installing Oracle Database 19c SELinux If the OS is to be used for an Oracle installation, it is ...
-
Method 1 : To turn on the option for storing chat history: Open Skype for Business/Lync and sign in. Click Show Menu arrow nex...
-
SD5 monitors target nodes hardware's system health or availability in data centers in real-time and provide alerts to administrators. Su...
-
Prerequisite Make sure that you have Java (JRE) installed on your system Installation Download the Linux binary zip (no JRE) from http://...
No comments:
Post a Comment