LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2004, 07:26 AM   #1
muman
LQ Newbie
 
Registered: Sep 2004
Posts: 11

Rep: Reputation: 0
users/groups and permissions....


Hiya, not sure if this is a newbie question or not, but feels like it .

Anyway, just wondering is it possible to have a different set of group permissions somehow, just trying to add an extra layer of protection....

I.e

group 1 (or user) can only read users files given to more people...
group 2 (or user) can read and write to users files given to very few people to help them out if they have problems..

i know you can chmod g+r etc, but that would only work for the one set?

Not sure if that makes sense, just trying to think of best way to arrange things so a new admin doesn't have access to every users files for writing and able to destroy stuff accidentally, but do want a few to be able to but would prefer they didn't have root password. (in the situation of alot of users). Bit like the idea of user/admin/superadmin/root.
 
Old 09-21-2004, 09:23 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
To be honest, I'm not entirely clear what you're asking for... a bit more detail/example would be good.
However, I think it would be useful to you to look into the fact that a user can be in more than 1 group at a time.
See man group.
 
Old 09-21-2004, 11:20 AM   #3
muman
LQ Newbie
 
Registered: Sep 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Hiya, thanks for the reply, yes we already have users in more than one group as the current set up, but at the moment admins can both read and write to all users, this I would like to cut back so that only certain admins have write access to all standard users, and others read only.

At the moment we have admin (not actually called user admin as too obvious) part of a group who has write access to customer1+customer2 for example as their group.

Would like to change this...i.e
customer1, customer2 (plus admins) have standard accounts can read/write their own files.
Admin1 has read only access to customer1+2.
Admin2 has read+write access to customer1+2.

What I would like is a user (i.e an accepted admin) to be able to read the users configuration files and look for problems etc. Could possible add a 2nd admin as "other" and not group and enable read access for that, but don't really like that idea...

Then on top of that a more qualified admin who has access to read+write other standard users files in case they have messed up.

Don't really want to use root apart from the usual obvious exceptional circumstances.

Not sure if thats any clearer, thanks for the reply though. I might be missing the obvious though (hence in this section as I'm not sure if its something that can't be done, or something simply is obvious and not thinking of!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating groups, adding users, and setting permissions bowie101 Linux - Newbie 2 11-23-2005 12:42 PM
groups and permissions g_trueblood Slackware 2 10-07-2005 04:36 AM
users, groups, and permissions mcd Linux - Newbie 3 05-26-2004 09:06 PM
Users, groups, permissions - specific task question Doctafonk Linux - General 2 04-21-2004 09:05 PM
Saving users, groups and permissions in Red Hat 9 ferrantepunto Linux - Software 2 12-03-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:49 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