Bitcoin Forum
May 08, 2024, 08:33:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bfgminer without sudo? (usage of --setuid)  (Read 647 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
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715200433
Hero Member
*
Offline Offline

Posts: 1715200433

View Profile Personal Message (Offline)

Ignore
1715200433
Reply with quote  #2

1715200433
Report to moderator
1715200433
Hero Member
*
Offline Offline

Posts: 1715200433

View Profile Personal Message (Offline)

Ignore
1715200433
Reply with quote  #2

1715200433
Report to moderator
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


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!