LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-05-2006, 03:28 PM   #1
amon
Member
 
Registered: May 2004
Location: UK
Distribution: Debian, Ubantu, CentOS
Posts: 146

Rep: Reputation: 17
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)?
 
Old 04-06-2006, 02:24 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

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

-twantrd
 
Old 04-07-2006, 06:22 AM   #3
amon
Member
 
Registered: May 2004
Location: UK
Distribution: Debian, Ubantu, CentOS
Posts: 146

Original Poster
Rep: Reputation: 17
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).
 
Old 04-07-2006, 03:29 PM   #4
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
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.
 
Old 04-07-2006, 05:48 PM   #5
amon
Member
 
Registered: May 2004
Location: UK
Distribution: Debian, Ubantu, CentOS
Posts: 146

Original Poster
Rep: Reputation: 17
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9 karmakid Red Hat 1 07-27-2005 10:27 PM
cannot add new group in RH jimberg51 Linux - General 1 06-08-2005 01:13 PM
Add a group to a group? Temujin_12 Linux - Security 2 06-08-2005 03:58 AM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 06:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration