LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-15-2008, 08:23 PM   #1
tro11
LQ Newbie
 
Registered: Mar 2008
Posts: 13

Rep: Reputation: 0
Samba/Linux Groups Question


Just a quick question because I can't really test this myself; but is it possible to nest groups within groups in your etc/group file? For example: I have groups with common users, so rather than rewriting all those users, is it possible to just nest a group in there instead?

Code:
group1:x:1111:group2,aaa,bbb,ccc
group2:x:1112:xxx,yyy,zzz
 
Old 04-15-2008, 10:24 PM   #2
jo4
LQ Newbie
 
Registered: Sep 2007
Location: Norway
Distribution: Gentoo, Debian
Posts: 24

Rep: Reputation: 15
the group file is an ascii file so it'll just think group2 is a user. Dunno what processes the file though.

Anyway, think your just better off getting a small script for the job
 
Old 04-15-2008, 10:42 PM   #3
tro11
LQ Newbie
 
Registered: Mar 2008
Posts: 13

Original Poster
Rep: Reputation: 0
O well. Thought it was too straightforwardly simple. Thanks for the input.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba NT and Unix groups smclevie Linux - Server 0 01-30-2007 02:10 AM
Linux groups viewable thu SAMBA on Win98? calabash Linux - Networking 4 10-01-2003 06:14 PM
Samba groups TheRealDeal Linux - General 5 09-17-2003 12:13 AM
Samba and WinXP groups? rob_lnb Linux - Networking 1 07-07-2003 04:20 AM
samba sharing with groups Mr-TY Linux - Newbie 2 06-18-2003 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration