LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-08-2009, 09:54 PM   #1
Kosaic
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, 02:21 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
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.
 
  


Reply


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 11:20 PM
running xsane as none root user dohpaz Slackware 1 02-28-2007 06:06 PM
Running samba as a user other than root Questor21 Linux - Software 6 04-09-2006 01:03 PM
Running user program from root kilativv Linux - Software 2 07-31-2004 01:49 AM
Running KPPP as a user, and not root. RoaCh Of DisCor Linux - Software 5 06-28-2004 06:38 AM


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