LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   group: add complete group into other group (https://www.linuxquestions.org/questions/suse-opensuse-60/group-add-complete-group-into-other-group-434351/)

max_mad 04-12-2006 01:37 AM

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?

Thanks

Max

gilead 04-12-2006 01:43 AM

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.


All times are GMT -5. The time now is 11:09 PM.