Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-15-2002, 08:31 AM   #1
LQ Newbie
Registered: Feb 2002
Distribution: Homemade Slakware
Posts: 14

Rep: Reputation: 0
Question Linux Capability

Is there anyone having experience with Linux Capability on a kernel 2.4.x ???

I set the CAP_SETUID to my process using cap_set_flag() and cap_set_proc() and it returns sucessfully.

Then I drop my root privilege using setuid(1001)
and try to set to another user with setuid(99) and I keep getting premission denied...
I dont know if someone could help



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
Linux presentation software with preview (or dual-head capability) kkempter Linux - Software 1 12-21-2006 01:20 PM
Why no MP3 capability? rusty_slacker Fedora 3 10-31-2005 03:45 PM
Capability g26108 Linux - General 1 09-30-2005 05:47 PM
"Excel Solver" like capability in Linux bdika Linux - Software 2 03-11-2004 04:42 PM
I can do it with less capability! Anniebaby Linux - Security 3 10-30-2003 09:51 PM

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