Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9013295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:13:34+00:00 2026-06-16T03:13:34+00:00

My central file server is running Redhat and I’ve configured this system to export

  • 0

My central file server is running Redhat and I’ve configured this system to export shares via NFS and I manage user accounts with NIS. I’ve setup a couple of Ubuntu clients and realized, that the NIS users are not part of any of the standard Ubuntu groups. A local user usually belongs to the following groups:

$ groups
user adm cdrom dip plugdev lpadmin sambashare

My NIS users however only belong to the following groups:

$ groups
user

I could obviously add each NIS user to all the standard Ubuntu groups on each Ubuntu client that I’m using, but that requires me keep all systems up to date.

I was therefore thinking of adding the NIS users on the NIS server to the appropriate groups. Unfortunately, the group names and ids don’t match between Redhat and Ubuntu. So
while the plugdev group on a Ubuntu system maps to group ID 46 the same group might have the ID 47 on my Redhat server.

Therefore my question: How do I match / map user groups in the most efficient way? ideally, each new NIS user will automatically be in the correct ubuntu groups. (Not having the right group permissions results in not being able to smbmount, etc, …)

EDIT Ideally I would add each NIS user to a special NIS group and that would be translated on the Ubuntu clients to the groups adm cdrom dip plugdev lpadmin sambashare

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T03:13:36+00:00Added an answer on June 16, 2026 at 3:13 am

    a partial solution seems to be:

     $ sudo vi /etc/pam.d/common-auth
    
     # add line
     auth optional pam_group.so
    

    Set group permissions for all authenticated users (not NIS specific)

     $ sudo vi /etc/security/group.conf
    
     # add line
     "*;*;*;Al0000-2400; audio,video,cdrom,plugdev,fuse"
    

    any better solutions?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Lucene Index on a central file system. In my IIS application,
We are using a central Makro.xlm file and some Workbooks accessing the Makro this
We have several application servers, and a central monitoring server. We are currently running
I have a flash video player which requests a flv file from a central
I have a central hg repository with multiple subprojects in it. Somewhat like this:
I have a client software program used to launch alarms through a central server.
How can I store a video (either in database or file system) so that
What I want To get this guide to work http://blog.bigpixel.ro/2012/07/building-cc-applications-with-maven/ The Error I'm running
I have a distributed application which polls for commands from a central server and
I currently manage 8 different sites for my organisation and built a central management

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.