Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using a GUI how to you add one group (with users) to another group (with other users)? In other words if you add Group A to Group B then B has all of the users from A plus its own.
When you then add more users to A they will automatically show up in B.
Also how do you set the rights for each group using the GUI?
It's not possible. You can only add users to groups. Alternatively, you can create a GUI which does such actions by internally knowing that all users added to/removed from some group have to be also added/removed from the other. And, if you don't know how to do such application, you can write on such application "wishes list" to do so.
A GUI applications that work with users and groups is KUser. You can go to their app page and add this "wish". If they really don't like your idea, you can do a fork of the app (KUserAdvanced, for example) to acomplish your wish. And, again, if you don't know programming, you can pay someone(s) to do so
I'm not so sure it's not possible. I remember asking the same question and doing some research to find the answer to this same question. I was pretty new to Linux at the time, but I think I got it working.
I think it was some obscure ability that I can't find documentation on any more.
If I remember correctly (and I may not) - Assuming group1 is supposed to become a member of group2, you could add group1 into group2's definition in /etc/group. But there was some sort of special marker to define group1 as a group. I don't remember if it was a %, @ or what. But after I did that, it seemed to work for me.
I posted my findings here at LQ, but that was some time ago, and it appears my post has been expired (no longer listed).
I'm not so sure it's not possible. I remember asking the same question and doing some research to find the answer to this same question. I was pretty new to Linux at the time, but I think I got it working.
I think it was some obscure ability that I can't find documentation on any more.
If I remember correctly (and I may not) - Assuming group1 is supposed to become a member of group2, you could add group1 into group2's definition in /etc/group. But there was some sort of special marker to define group1 as a group. I don't remember if it was a %, @ or what. But after I did that, it seemed to work for me.
I posted my findings here at LQ, but that was some time ago, and it appears my post has been expired (no longer listed).
This is one area where Windows (nested groups with assignments) is a little more advanced in this area.
This is one area where Windows (nested groups with assignments) is a little more advanced in this area.
Not agree at all.... Have you tried to install emule on wLive? User permissions are not obvious: too difficult and possible recursions, no text files to touch (really nasty, żuh?), possibility to add positive and negative groups, etc. I largely prefer linux groups, where you can easily see if a user belongs to a group or not and then, if s/he has write permissions to a file (for example).
For a 'masterization' of groups like said before, it's preferable a program that does the work for you and for the system (group nesting should also take system recurses if the chains get too long or recursed).
So, again, make your own program (and share it, of course ) to pseudo-nest groups on /etc/group .
Just a note: may be SELinux can help doing this kind of things but... it's a part of Linux I really know nothing about.
Distribution: Slackware from 94-09, Debian Since March 09
Posts: 28
Rep:
Quote:
Originally Posted by measekite
Using a GUI how to you add one group (with users) to another group (with other users)? In other words if you add Group A to Group B then B has all of the users from A plus its own.
When you then add more users to A they will automatically show up in B.
Also how do you set the rights for each group using the GUI?
Unfortunately, linux does not support nested groups. However, you could probably achieve something close to the end result you are after by using filesystem ACLs. If you could provide an example of one of the "end results" you are looking to achieve, perhaps we could come up with a viable solution.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Quote:
Originally Posted by SlowCoder
...I posted my findings here at LQ, but that was some time ago, and it appears my post has been expired (no longer listed).
No. To my knowledge nothing is deleted on LQ, since its officially stated purpose is to collect knowledge and make it accessible. Check with the "My Threads" and "My Posts" buttons in the right side panel how far back your posts are preserved and contact the mods if necessary.
You can also do an advanced search entering your nick and the appropriate keywords which might give you better results. HTH.
P.S.: Sorry for the icon in the header. I didn't put it there and I can't get it removed .
Last edited by win32sux; 03-12-2009 at 02:34 AM.
Reason: Removed icon which was unintentionally used by JZL240I-U.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.