Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-12-2004, 02:42 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 13
Rep:
|
Group Admin, Group Root, or God over Group
I need to make a user that has permissions over a subset of users.
Please advise on how to approach this if it is possible.
Crickett
|
|
|
07-12-2004, 02:46 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
What would this admin do? I can't think of anyway that this could be done - paswords and accounts are run as a whole by root. I don't think you can create a "limited admin" like that.
|
|
|
07-12-2004, 03:06 PM
|
#3
|
Senior Member
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168
Rep:
|
use gpasswd as root with the -A parameter to specify a group administrator. The group admin can manage membership and set a group password. users who aren't members can join the group with newgrp by entering the group password. and the best part is the group admin doesn't need root access to do any of this!
|
|
|
07-12-2004, 03:47 PM
|
#4
|
LQ Newbie
Registered: Jun 2003
Posts: 13
Original Poster
Rep:
|
crito,
does that group admin have access to copy the group members files?
|
|
|
07-12-2004, 03:53 PM
|
#5
|
LQ Newbie
Registered: Jun 2003
Posts: 13
Original Poster
Rep:
|
let me explain my motives....
i have a remote server
this server can't initiate conversations (firewall rules, DMZ)
i need to backup /home from the remote server
i can't ssh with root on remote server
i can use rdiff-backup user@remotehost::/home /local/bakcup/home
but the user doesn't have perms to all the other users in /home
i need a non root user that has perms to all or some users files
i can force a recursive chown -R :group /home first, but i'd rather not
i hope this helps you see what i'm trying to do...
|
|
|
07-12-2004, 04:01 PM
|
#6
|
Senior Member
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168
Rep:
|
I imagine that would depend on directory permission for group and other. The group admin doesn't have any other special rights that I'm aware of.
Oh, and on double checking, I should have said "group administrators" as there can be more than one. My book also mentions that this feature isn't implemented correctly in all versions of Linux. I can say definitively, however, that it works perfectly with Mandrake 9.2 
Last edited by Crito; 07-12-2004 at 04:04 PM.
|
|
|
All times are GMT -5. The time now is 07:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|