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
Environment variables for java installation
Enable credential cache on Linux AD integration using sssd
Enable credentials caching; this allows users to log into the local system using cached information, even if the AD domain is unavailable.
Raw
cache_credentials = true
Find Out What Is Using TCP Port 80
Use /proc/$pid/exec file find out what is using port 80
First, find out the processes PID that opened tcp port 90, enter:
# fuser 80/tcp
Sample outputs:
80/tcp: 12161 21776 25250 25393
Finally, find out process name associated with PID # 3813, enter:
# ls -l /proc/12161/exe
Sample outputs:
lrwxrwxrwx. 1 root root 0 Aug 9 17:08 /proc/12161/exe -> /usr/sbin/light
IP Addressing and Classes
IP - Internet Protocol
IP or IP address is a number i.e. ( 216.58.216.165 ) used to indicate the location of a computer or other device on a network.
IP address classes
IPv4 IP address, there are five classes of available IP ranges:
Class A
Class B
Class C
Class D
Class E
Only A, B, C are commonly used.
Each class has its range of valid IP addresses are shown below :
Class Address Range Supports
Class A 1.0.0.1 to 126.255.255.254 Supports 16 million hosts on each of 127 networks.
Class B 128.1.0.1 to 191.255.255.254 Supports 65,000 hosts on each of 16,000 networks.
Class C 192.0.1.1 to 223.255.254.254 Supports 254 hosts on each of 2 million networks.
ReadMore..
IP - Internet Protocol
IP or IP address is a number i.e. ( 216.58.216.165 ) used to indicate the location of a computer or other device on a network.
IP address classes
IPv4 IP address, there are five classes of available IP ranges:
Class A
Class B
Class C
Class D
Class E
Only A, B, C are commonly used.
Each class has its range of valid IP addresses are shown below :
Class Address Range Supports
Class A 1.0.0.1 to 126.255.255.254 Supports 16 million hosts on each of 127 networks.
Class B 128.1.0.1 to 191.255.255.254 Supports 65,000 hosts on each of 16,000 networks.
Class C 192.0.1.1 to 223.255.254.254 Supports 254 hosts on each of 2 million networks.
ReadMore..
http://magazie.co.in/ip-addressing-and-classes/
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://...