Added README and updated initialSetup.sh
This commit is contained in:
30
README
Normal file
30
README
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
HENRY PUMP POCONSOLE MODULE
|
||||||
|
===========================
|
||||||
|
Author: Patrick McDonagh, Henry Pump
|
||||||
|
Date: 12.08.2015
|
||||||
|
|
||||||
|
Building
|
||||||
|
--------
|
||||||
|
|
||||||
|
- First, run
|
||||||
|
|
||||||
|
sudo raspi-config
|
||||||
|
|
||||||
|
- Expand the filesystem and set the localization options
|
||||||
|
|
||||||
|
cd setup
|
||||||
|
chmod +x initialSetup.sh
|
||||||
|
./initialSetup.sh
|
||||||
|
|
||||||
|
- When prompted, set the poconsole user password.
|
||||||
|
- Logout and log back in as poconsole
|
||||||
|
|
||||||
|
cd setup
|
||||||
|
chmod +x setup.sh
|
||||||
|
./setup.sh
|
||||||
|
|
||||||
|
- Grab a cup of coffee, relax, and let me handle the rest.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,8 +1,3 @@
|
|||||||
echo "default password: raspberry"
|
echo "Creating the POConsole user and giving it sudo privileges"
|
||||||
ssh pi@raspberrypi "sudo adduser poconsole"
|
|
||||||
ssh pi@raspberrypi "sudo sed -i '$a poconsole ALL=(ALL) NOPASSWD: ALL' /etc/sudoers"
|
|
||||||
|
|
||||||
OR
|
|
||||||
|
|
||||||
sudo adduser poconsole
|
sudo adduser poconsole
|
||||||
sudo sed -i '$a poconsole ALL=(ALL) NOPASSWD: ALL' /etc/sudoers
|
sudo sed -i '$a poconsole ALL=(ALL) NOPASSWD: ALL' /etc/sudoers
|
||||||
Reference in New Issue
Block a user