HTPC-Manager: Python should be executed as an administrator

Status
Not open for further replies.

Gavin

Dabbler
Joined
Aug 8, 2013
Messages
37
Last question...

I have no idea at all how to execute python as an administrator. Still kinda new to FreeBSD.

smartmontools

Python should be executed as an administrator to smartmontools to work properly. Please, try to run python with elevated credentials.
 

Gavin

Dabbler
Joined
Aug 8, 2013
Messages
37
Last question...

I have no idea at all how to execute python as an administrator. Still kinda new to FreeBSD.

How is htpc.py called/executed anyway? I'm guessing there's a startup script somewhere since it's a python script and not a pkg?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
why'd you create a sperate thread? init script is /usr/local/etc/rc.d/htpc-manager

what do you need to do as an admin?
 

Gavin

Dabbler
Joined
Aug 8, 2013
Messages
37
why'd you create a sperate thread? init script is /usr/local/etc/rc.d/htpc-manager

what do you need to do as an admin?

I thought since it was a separate question... and I was half asleep.

A module requires admin to read the S.M.A.R.T. values.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I thought since it was a separate question... and I was half asleep.

A module requires admin to read the S.M.A.R.T. values.
hmm, you can change the script to have it run as root. but you probably need to do some hacking to get the disk devices into the jail.
 
Status
Not open for further replies.
Top