limits.conf file does not accept groups with spaces in name

Solution Unverified - Updated -

Issue

pam_limits limits.conf file not accepting groups with spaces in name

Groups are created in openldap server.

Groups without spaces works.

@groupnamehere    hard   nproc    3

None of these works  -

  @All\ Students    hard   nproc    3   @"All Students"    hard   nproc    3
  @'All Students'    hard   nproc    3
  "@All Students"    hard   nproc    3
  '@All Students'    hard   nproc    3
  @5000    hard   nproc    3    [using the GID]

Environment

Red Hat Enterprise Linux

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