Setup user local

From Rsewiki
Revision as of 09:19, 24 December 2021 by Jca (talk | contribs) (Created page with "=== Login === login as ''pi'', password ''raspberry'' - password may have changed Add a user called local, this leaves the pi user as is. This can save reformatting and rein...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Login

login as pi, password raspberry - password may have changed

Add a user called local, this leaves the pi user as is. This can save reformatting and reinstall when the Pi is to be reused.

add a user called local

sudo adduser local
sudo usermod -a --groups adm,cdrom,sudo,audio,video,plugdev,games,users,netdev,input,spi,gpio,i2c,dialout local 

switch user to local, and ensure groups are OK, and network is running

su - local
groups
ifconfig

Note the inet address.

Now it is possible to login (as local) from network.