Results 1 to 1 of 1
Hi,
My RHL machine is integrated with Active Directory.
By default my AD user primary group is "Domain Users" but I would like to change that to a local Linux ...
- 09-14-2009 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 25
Adding AD user to a Local Primary Group?
Hi,
My RHL machine is integrated with Active Directory.
By default my AD user primary group is "Domain Users" but I would like to change that to a local Linux group. Somehow usermod command is not allowing to make tle Local Linux group as primary group for ADuser.
# usermod -g localprimarygrp ad_service_account
usermod: ad_service_account not found in /etc/passwd
But "getent passwd" listing all my AD user list with proper UID,GID,HomeDir,defaultshell (considering the entries r present in /etc/passwd).
So how can I add my AD user to a local primary group without editing(adding) any entries in /etc/passwd.
Thanks in advance.


Reply With Quote