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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.