Groups
Kinzel, David
David.Kinzel at encana.com
Wed Oct 6 18:31:24 UTC 2010
/etc/group
Add it manually, or user lgroupadd/lusermod (the l is for libuser, which isn't ldap aware and just touches local files, last I checked).
Appologies for top posting and horrible formatting.
________________________________
From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Jeff Poling
Sent: Wednesday, October 06, 2010 11:45 AM
To: redhat-sysadmin-list at redhat.com
Subject: RE: Groups
Fabio,
The group is not in LDAP but the user is. The group is one I created on the system itself. Basically, I am trying to give the user access to a folder without giving him root access.
Thanks,
Jeff
Jeffrey Poling
System Administrator | Information Systems
Moody Bible Institute
820 N. LaSalle Blvd., Chicago, IL 60610
312-329-8968
www.moodyministries.net
From the Word. To Life.
From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Fabio Rampazzo Mathias
Sent: Wednesday, October 06, 2010 11:34 AM
To: redhat-sysadmin-list at redhat.com
Subject: Re: Groups
Jeff,
You can use smbldap-tools and type :
# smbldap-groupmod -m <user> <group>
Or, if you don't use this tool, just add as an attribute of your group in LDAP base :
memberUid: <user>
If you do not use any tool to manage LDAP, you can insert these content on a file :
dn: <full DN of group>
changetype: modify
add: memberUid
memberUid: <user>
and then, run the following line :
# ldapmodify -D "<admin DN>" -W -x -f <file>
A great tool for managing LDAP can be found here : http://www.novell.com/coolsolutions/tools/13765.html
Cheers,
Fábio Rampazzo Mathias
On Wed, Oct 6, 2010 at 10:25 AM, Jeff Poling <jpoling at moody.edu> wrote:
I just took over our Linux environment and need some assistance with groups. Our users authenticate via LDAP and I need to add a user to a new group I created. How do I add an LDAP user to a group on a single system?
Thanks,
Jeff
--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only. Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited. If you receive this email in error, please contact the sender and delete this communication and any copies immediately. Thank you.
http://www.encana.com
More information about the redhat-sysadmin-list
mailing list