How to fix error message 'too many arguments' when login on RHEL 5 with AD 2008 users?

Solution Verified - Updated -

Issue

When try to login on RHEL box using an AD users, the following error appears:

login as: REDHAT+USER
REDHAT+USER@ABC123's password:
Last login: Tue Nov 13 17:51:52 2012 from 10.85.25.23
-bash: [: too many arguments

How to fix it?

Environment

  • Microsoft Active Directory 2008
  • Red Hat Enterprise Linux 5.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content