Bitcoin Forum
November 05, 2024, 10:42:49 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bfgminer without sudo? (usage of --setuid)  (Read 667 times)
saljut7 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
November 16, 2016, 12:28:13 AM
 #1

Hey miners,

running bitcoin-core-0.13.0 + bfgminer 4.2.0 on Debian8.6 (ARM) I didn't figure out how to start bfgminer with an unprivileged user. I tried:

Code:
sudo useradd -s /bin/false bfgminerUser
sudo adduser bfgminerUser dialout
sudo bfgminer -o http://localhost:8332 -u MyRPCuser -p MyRPCpassword --coinbase-addr MyPayoutAddressForSoloMining --coinbase-sig "rig1: BlockErupterOrange" --setuid MybfgminerUser

Unfortunately bfgminer can not find any devices this way...

Code:
sudo bfgminer -o http://localhost:8332 -u MyRPCuser -p MyRPCpassword --coinbase-addr MyPayoutAddressForSoloMining --coinbase-sig "rig1: BlockErupterOrange" 
...works fine (sowithout --setuid MybfgminerUser).

Any ideas?
sj7
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
November 16, 2016, 12:43:35 AM
 #2

Use the support thread please:
https://bitcointalk.org/index.php?topic=877081.0

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!