Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 04-12-2006, 02:37 AM   #1
LQ Newbie
Registered: Sep 2005
Distribution: SuSE Linux 9.3
Posts: 21

Rep: Reputation: 15
group: add complete group into other group

SuSE Linux 9.3

passwd keeps the users user1, user2, user3 ... and their primary group,
for example usegroup = 200

usegroup:x:200:user1, user2, user3 ...

users::100:anotheruser1, anotheruser2, ...

Is it possible to put all the members of usegroup also into the group users = 100 by writing

users::100:usegroup, anotheruser1, anotheruser2, ...

or do I have to write

users::100:user1, user2, ..., anotheruser1, anotheruser2, ...

How many entries fit into a line of members? 1000?


Old 04-12-2006, 02:43 AM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,124

Rep: Reputation: 164Reputation: 164
Yes you can - at least it seems to be working on my system. I changed the group id of two of my devices to cdrom and added the old group (disk) to the cdrom group with the other users. I'd say try it and see what happens.


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
add a group to a group amon Linux - Security 4 04-07-2006 06:48 PM
well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9 karmakid Red Hat 1 07-27-2005 11:27 PM
Add a group to a group? Temujin_12 Linux - Security 2 06-08-2005 04:58 AM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 05:01 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 07:58 AM

All times are GMT -5. The time now is 02:30 AM.

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