Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

583
Views
realm permit -g not limiting login groups

I've set up a Raspberry Pi 2 b with a Fedora 23 distro, I've been able to successfully join to our active directory domain using realmd's realm join. I am attempting to limit who may log in by active directory group. After running:

# realm permit -g adgroup@domain

Anyone with a domain account is able to log in regardless of if they are members of the group. I've run realm list and verified the login-policy is set to allow-permitted-logins and the desired group is part of permitted-groups.

The specific linux distro is Fedora-23-remix-rpi2-xfce-1-raw

If anyone else has run into this problem, I would greatly appreciate the help.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

I also ran into the same problem and what fixed it for me is to first deny all the users using:

realm deny --all

and when all users are denied I used the realm permit to allow the desired group:

realm permit -g usergroup@domain
over 4 years ago · Santiago Trujillo Report

0

As Rajneesh Gadge said you would have to deny first.

Then the good behaviour will be with the right ad group name.

For example, in AD the group "Domain Administrators" will be catched with :

realm permit --groups domain\ admins

And does not work with : realm permit --groups Domain\ Administrators

BTW I don't really know how to retrieve this "short name" for groups...

over 4 years ago · Santiago Trujillo Report

0

you can try to

sudo realm permit --groups --withdraw "domain users"

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!