LinuxQuestions.org
Help answer threads with 0 replies.
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-13-2015, 03:48 PM   #1
link626
LQ Newbie
 
Registered: Sep 2015
Posts: 6

Rep: Reputation: Disabled
Group inherent permissions in linux?


In Windows, there are groups like Users, Administrators.
They have built-in permissions that allow them to do stuff around the system.

If I create a new group "newgroup" in linux, does that group any built-in permissions around the system?
Or does it have none unless I give "newgroup" specific permissions?... e.g access to a folder

Last edited by link626; 09-13-2015 at 03:49 PM.
 
Old 09-13-2015, 05:53 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Nope.

All a group does is allow file access by that group.

SOME utilities use setgid to gain access to certain files for the purpose of establishing file locks for modem access, others will use it to limit access to devices (/dev/sr0 only allows root and processes with group "cdrom" to access it.

I believe sudo uses group definitions to identify the users that are allowed to run some administrative commands that are not available to general users.c (if your distribution uses sudo, then there should be a /etc/sudo.conf file or entries in a /etc/sudo.conf.d directory that define the groups, commands available to users in that group. This has been where the "wheel" group gets used for identifying "administrator" users.

This has been the traditional access control. Some distributions (RH derivatives) will also add a security label using SELinux or will use ACLs for the same purpose.

Last edited by jpollard; 09-13-2015 at 05:58 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Group permissions: user can't access 770 directory even though a member of group jm34003 Linux - Security 13 05-16-2012 02:03 PM
Secondary group users need to change the file permissions of primary group files? sunnybmv Linux - Newbie 3 12-10-2009 04:57 PM
permissions not recognizing group or assigned users to group blckspder Linux - Server 1 07-28-2008 10:32 AM
User, Group permissions in Redhat Linux ES 3.0 majicrobot Linux - Security 1 09-25-2004 07:24 AM

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

All times are GMT -5. The time now is 04:46 PM.

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