LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 07-12-2004, 02:42 PM   #1
crickett
LQ Newbie
 
Registered: Jun 2003
Posts: 13

Rep: Reputation: 0
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
 
Old 07-12-2004, 02:46 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.
 
Old 07-12-2004, 03:06 PM   #3
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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!
 
Old 07-12-2004, 03:47 PM   #4
crickett
LQ Newbie
 
Registered: Jun 2003
Posts: 13

Original Poster
Rep: Reputation: 0
crito,

does that group admin have access to copy the group members files?
 
Old 07-12-2004, 03:53 PM   #5
crickett
LQ Newbie
 
Registered: Jun 2003
Posts: 13

Original Poster
Rep: Reputation: 0
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...
 
Old 07-12-2004, 04:01 PM   #6
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what's the difference between main group and other group? hongxing Linux - Software 1 11-14-2005 06:40 AM
User and Group Admin: How to tell Who is in What group? Akhran Linux - Newbie 1 11-12-2005 11:16 PM
well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9 karmakid Red Hat 1 07-27-2005 10:27 PM
/etc/group - the group users empty Artanicus Linux - General 2 02-22-2005 04:25 AM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 06:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:32 AM.

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
Open Source Consulting | Domain Registration