It will mean that if I am connected another user that will try to authenticate as root will get an error.
Asked
Active
Viewed 67 times
0
-
So, these will be two different accounts or the same one `root`? – Khaled Dec 29 '10 at 10:16
-
Lets say user Tom does su and connects as root, I want that user Bob when tries to do su and log as root to get an error. – Elzo Valugi Dec 29 '10 at 10:18
1 Answers
1
The PAM module pam_limts can be used. Edit the /etc/security/limits.conf
configuration file (maxlogins), and add the pam_limits module to the su service config.

Keith
- 331
- 1
- 6
-
erk, blocking root access does not sound like a good recipe for an emergency / system problems. And allowing remote access as root is just plain silly. – symcbean Dec 29 '10 at 13:22