BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old June 17th, 2006, 03:13 AM
n1np's Avatar
n1np n1np is offline
User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Alleghany Highlands
Posts: 107 n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3
Time spent in forums: 2 Weeks 2 Days 12 h 51 m 56 sec
Reputation Power: 223
Program uses idprio, don't want to run as root

I just successfully installed 6.1 FreeBSD on a spare machine, this is my first time tinkering with BSD since ~1994-95. So far I really like it, but am having trouble with an application. I understand that this is a permissions problem, but do not understand how to solve it without running the application logged in as root. I searched here and Google and read the relevant manpages, but I am still stuck.

The application is boinc_client, got it using pkg_add without any trouble. The problem is that it is built to use idprio to set the process priority lower (like nice), but only root is allowed to change a processes priority. The result is that if I run boinc as a non-root user, it exits immediately with
Code:
idprio: Operation not permitted

Is there a way to allow a non-root user to run the application with a su root only for idprio? Or is there another solution that I would not be aware of, not being familiar with BSD?

Or do I just need some sleep?

Thanks,

Ben N1NP

Reply With Quote
  #2  
Old June 22nd, 2006, 01:16 PM
n1np's Avatar
n1np n1np is offline
User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Alleghany Highlands
Posts: 107 n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)n1np User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1415842 Folding Title: Super Ultimate Folder - Level 3
Time spent in forums: 2 Weeks 2 Days 12 h 51 m 56 sec
Reputation Power: 223
Nevermind.

I could not get the boinc-client to function properly, even running as root, and even though the problem had been discussed elsewhere (boinc forum) no resolution has been posted.

So I have given up trying to run boinc on BSD and have set up a Folding@Home client instead (and even joined the DevFolding team ). The setup was non-intuitive, but well-documented especially the
Code:
$brandelf -t Linux FAHxConsole
trick (I'm guessing that is saying "interpret this file as a Linux-ELF binary"? Anyway, it has returned a work unit and n1np is on the list!

Ben N1NP

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Program uses idprio, don't want to run as root


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway