Download your favorite Linux distribution at LQ ISO.
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-08-2009, 08:54 PM   #1
LQ Newbie
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
Running NET_CAP_ADMIN under non root user

Hi Everyone,

Brand new here, so first off hi !

I have an application on a Linux Redhat 4.x server that needs to set the TOS option ... It is running under a non-root user.

Ultimately, I need to be able to run the "NET_CAP_ADMIN" command under this user , and not the root account. This will in my mind allow the application to set the TOS value appropriately.

What can I do (or what command can I run) to enable the net_cap_admin command under this user account ?

Thanks in advance.
Old 10-09-2009, 01:21 AM   #2
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
I would suggest looking up sudo and setting whatever it is that is using the command as a file that executes as if run by a super user when run by the user who should be using it. There are alternative ways to achieve this but I would suggest setting a sudo entry for the script/file/command as applicable since this gives the least security risks if set-up correctly.


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
Keep all but the root user from running su bcwagne Linux - Newbie 4 06-17-2008 10:20 PM
running xsane as none root user dohpaz Slackware 1 02-28-2007 05:06 PM
Running samba as a user other than root Questor21 Linux - Software 6 04-09-2006 12:03 PM
Running user program from root kilativv Linux - Software 2 07-31-2004 12:49 AM
Running KPPP as a user, and not root. RoaCh Of DisCor Linux - Software 5 06-28-2004 05:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:12 PM.

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