LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   add a group to a group (http://www.linuxquestions.org/questions/linux-security-4/add-a-group-to-a-group-432070/)

amon 04-05-2006 03:28 PM

add a group to a group
 
Is it possible to add a group to a group?

I'm authenticating users on an AD server, currently all users aren't in the audio group (and possibly others they will need to be in) by default. I can
Code:

adduser <user> audio
but This isn't good practise. can I add all members of group/the group 10000 "Domain users" to the "audio" group (and other as I need to)?

twantrd 04-06-2006 02:24 PM

Wait, what's wrong with adding users to multiple groups? That's the proper way instead of adding a group to another group.

-twantrd

amon 04-07-2006 06:22 AM

Quote:

Originally Posted by twantrd
Wait, what's wrong with adding users to multiple groups? That's the proper way instead of adding a group to another group.

-twantrd

The users are already creaited on the AD domain.

I am setting up linux boxes for some work.

And i want to add users to the audio (and probably other groups) when they sign on to the computer. The AD group that they are all in is a users group GID 10000 i think. How do i get them to all be able to listen to sounds?

Obviously i don't want to have to individualy add users to the audio group using
adduser <username> audio as this would take a long time for each user (as i hace potentialy 50+ peopel who will use the linux box).

Krugger 04-07-2006 03:29 PM

But if you are using Active Directory to authenticate the linux users why not do that in the active directory? Doesn't it mirror whatever group structure you have in the AD. You would just need to add all users to a audio group in the AD.

amon 04-07-2006 05:48 PM

Quote:

Originally Posted by Krugger
But if you are using Active Directory to authenticate the linux users why not do that in the active directory? Doesn't it mirror whatever group structure you have in the AD. You would just need to add all users to a audio group in the AD.

Don't know. I'll give that a try on monday


All times are GMT -5. The time now is 03:21 PM.