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 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.