[Fedora-directory-users] adding a user to multiple groups
Susan
logastellus at yahoo.com
Tue Mar 14 18:30:31 UTC 2006
Hi, everybody.
I've a group with multiple memberUid attributes:
# sysadmin, Groups, example.com
dn: cn=sysadmin,ou=Groups,dc=example,dc=com
memberUid: 1125
memberUid: 1234
gidNumber: 14
objectClass: top
objectClass: posixgroup
cn: sysadmin
____
and a user test like this:
# test, UNIX, example.com
dn: uid=test,ou=UNIX,dc=example,dc=com
gidNumber: 1234
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
objectClass: posixAccount
objectClass: account
host: *
givenName: test
sn: asdf
uidNumber: 1234
uid: test
cn: test asdf
homeDirectory: /home/test
___
there is also a group "test" which uid test belongs to. Now, test should be a member of both test
and sysadmins, correct?
However, that doesn't seem to be the case:
-bash-3.00$ grep test /etc/passwd
-bash-3.00$ id -a test
uid=1234(test) gid=1234 groups=1234
-bash-3.00$ id -G test
1234
-bash-3.00$
gid 14 doesn't show up. What am I doing wrong here? Is this not how you add a user to multiple
groups??
Thanks..
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Fedora-directory-users
mailing list