LinuxQuestions.org
Register a domain and help support LQ
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, 03: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, 03:46 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
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, 04: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, 04: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, 04: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, 05: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 05:04 PM.
 
  


Reply


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 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 07:40 AM
User and Group Admin: How to tell Who is in What group? Akhran Linux - Newbie 1 11-13-2005 12:16 AM
well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9 karmakid Red Hat 1 07-27-2005 11:27 PM
/etc/group - the group users empty Artanicus Linux - General 2 02-22-2005 05:25 AM
[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 10:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration