adding a user to multiple groups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux