fakedrake
fakedrake

Reputation: 6856

Is it possible to have a local group for an LDAP user

I have an LDAP server to which I do not have full privileges and an ubuntu system with LDAP authentication to which I am root. Is it possible to add an LDAP user to a local group? (I don't know if I phrase this correctly but all I want is to have a user in LDAP in a group without editing the actual database)

Upvotes: 6

Views: 4587

Answers (2)

MarkJL
MarkJL

Reputation: 493

Based on your answer it seems like what you needed was:

$ addgroup <group_name> (to make the group)

$ adduser -g <groupname> <username> (to add the user to the group)

Upvotes: 3

fakedrake
fakedrake

Reputation: 6856

OK silly me, just edited /etc/groups and worked

Upvotes: 3

Related Questions