LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-14-2006, 09:03 AM   #1
lcwilson95
LQ Newbie
 
Registered: Jul 2005
Posts: 10

Rep: Reputation: 0
Group with LEAST Rights


I am trying to set permissions. What is the group with the lowest rights? I tried nobody, but I can still kill processes.
 
Old 12-14-2006, 09:10 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
It sounds like you're trying to create an account for very limited access. This is exactly what chroot directories are designed for. You can set it up so that the user doesn't even have access to the kill command (or even ps).

You may wish to explore chroot setups.

Groups in and of themselves don't have "rights". The rights (permissions) are set on the files. If a user starts a process he has permission to kill it. In some UNIX environments this can be controlled with setprivgrp but I'm not sure of any equivalent in Linux so chroot is the way to go.
 
Old 12-14-2006, 02:43 PM   #3
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
By the way - users can only kill processes which they have themselves started. E.g. a process started by root cannot be killed by another user.
Code:
[djshaji@localhost ~]$ killall -verbose gdm-binary
gdm-binary(1622): Operation not permitted
gdm-binary(1860): Operation not permitted
gdm-binary: no process killed
However, root is exempt from this, and she can kill any process she wants.
 
Old 12-14-2006, 03:48 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
she? Everyone knows God is a man.
 
Old 12-17-2006, 02:07 PM   #5
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by jlightner
she? Everyone knows God is a man.
Yeah? And who's everybody? You and what army?
 
Old 12-17-2006, 02:42 PM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Quote:
Originally Posted by DJ Shaji
Yeah? And who's everybody? You and what army?
Just look at the world.
A woman would have done better.
 
Old 12-17-2006, 03:25 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Let's please shift this thread back to the original topic...
 
  


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
How to give access rights to one group to the home-dirs of another group Peter@KKVS Linux - Networking 2 11-09-2006 12:38 AM
Multiple Group Rights to One Directory JWatson Linux - Security 4 12-31-2004 01:13 PM
Group members and rights EERookie Linux - Newbie 0 06-03-2004 08:19 AM
how to know a certain group has what rights in linux? funnyusa Linux - Newbie 5 06-21-2003 09:38 PM
Question about user/group rights ShibbyLinux Linux - General 1 04-15-2002 03:03 PM

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

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