Welcome to the most active Linux Forum on the web.
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 10-07-2011, 05:49 AM   #1
LQ Newbie
Registered: Mar 2009
Location: MN
Distribution: Debian squeeze
Posts: 13

Rep: Reputation: 3
root vs normal user

root can kill any program run by any user. Is it possible for a user to kill another user's program without using sudo, etc. ?

Example: How can make user foo kill program x which is run by user bar ?

Last edited by kinkle; 10-07-2011 at 05:56 AM.
Old 10-07-2011, 06:49 AM   #2
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
1. No.

2. With su or sudo.
Old 10-07-2011, 07:46 AM   #3
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
By default a user has access to work inside his/her home directory and it depends on program which the user wants to access

But above all it is the super root user which assigns permissions and passwords so even if the user wants to access root files or other user's files it will prompt for a password.
Old 10-07-2011, 08:09 AM   #4
Registered: Mar 2007
Location: Spain
Distribution: Debian
Posts: 201

Rep: Reputation: 36
If both users have the same uid then one user can kill programs from the other user. Systemwise there is only one user, but userwyse you will see two separate users.


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
How to get root user PATH from normal user nagendrar Linux - Newbie 11 08-23-2011 09:40 PM
How to run daemon process being a normal user [not root user]. narendra1310 Linux - Software 1 10-26-2009 10:48 AM
root vs 'normal' user perbh Slackware 10 05-20-2008 12:03 PM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-08-2004 12:11 AM
Root and normal user Smooth Linux - Newbie 4 05-27-2003 11:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration