First Steps: MotionEye on PiZeroW – Raspbian Squeeze Lite

Download and install zipped image to sd card:

unzip -p | sudo dd of=/dev/the_device bs=4M conv=fsync

To allow you to use the pi headless, make sure you copy the ‘wpa_supplicant.conf’ & empty ‘ssh’ into the boot partition. Then boot the pi.

sudo adduser username
sudo usermod -a -G adm username
sudo usermod -a -G sudo username
sudo nano /etc/sudoers.d/010_pi-nopasswd
sudo nano /etc/hosts
sudo nano /etc/hostname
sudo deluser --remove-all-files pi

List members of a specific group.

getent group | grep "example_group"

List users group membership.

groups example_user
id example_user

List users.

cat /etc/passwd

Find files owned by the user ‘pi’.

 sudo find / -user pi

Leave a Reply

Your email address will not be published.