Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-21-2004, 07:26 AM   #1
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....


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
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,863

Rep: Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598
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
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!


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 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration