How to block local users from login directly via console and not via 'su'. Allow only Active Directory users to login directly via Red Hat Enterprise Linux 6 system authenticating to Windows Active Directory using ?

Solution Verified - Updated -

Issue

  • Block local users from login directly via console and not via 'su'. Allow only Active Directory users to login directly. So that Active Directory users can login directly via console or ssh and then can do "su - ". via Red Hat Enterprise Linux 6 system authenticating to Windows Active Directory using ?

Environment

  • Red Hat Enterprise Linux 6
  • Windows Active Directory
  • samba-winbind-3.5.6-86.el6_1.4.x86_64
  • krb5-libs-1.9-9.el6.x86_64
  • krb5-workstation-1.9-9.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In