Difference between revisions of "Sudo"

From Box Of Stops Online Help
Jump to: navigation, search
(Created page with "Typically Box Of Stops must be run as the Superuser, to give it the rights it needs on the Raspberry Pi. For those interested, the reasons for this ar...")
 
Line 2: Line 2:
  
 
For those interested, the reasons for this are:
 
For those interested, the reasons for this are:
* The web interface (e.g. '''http://192.168.1.128''') runs on port 80
+
* The web interface (e.g. '''<nowiki>http://192.168.1.128</nowiki>''') runs on port 80.  Only the superuser is allowed port numbers below 1024.
 
** Note this can be changed from the [[Application properties]]
 
** Note this can be changed from the [[Application properties]]
 
* To enable access to the [[Gpio button|Gpio ports]]
 
* To enable access to the [[Gpio button|Gpio ports]]
  
 
This is done by using the '''sudo''' command.  For example when [[Starting]] and [[Stopping]] Box Of Stops.
 
This is done by using the '''sudo''' command.  For example when [[Starting]] and [[Stopping]] Box Of Stops.

Revision as of 08:06, 1 October 2016

Typically Box Of Stops must be run as the Superuser, to give it the rights it needs on the Raspberry Pi.

For those interested, the reasons for this are:

  • The web interface (e.g. http://192.168.1.128) runs on port 80. Only the superuser is allowed port numbers below 1024.
  • To enable access to the Gpio ports

This is done by using the sudo command. For example when Starting and Stopping Box Of Stops.