Answer the question
In order to leave comments, you need to log in
Restricting access to the system?
The book provides several examples of editing the /etc/security/access.conf file. For example, entries such as - : ALL EXCEPT root : tty1 or - : root : ALL . But after adding, for example, - : root : ALL , I still have the ability to log into the system, whether in console or graphical mode.
Answer the question
In order to leave comments, you need to log in
What is the purpose of all this?
- access.conf may not be used
- the restriction is usually done through pam
- if you have a console and unpassworded grub, demolishing all such "bells and whistles" is a matter of five minutes
Check with another user.
Perhaps access.conf is not checked for root by default. (you need to look in /etc/pam.d/configs to check)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question