emartisoft / Rastari

All-in-one Atari (ST-STe-TT-Falcon) Solution on your Raspberry Pi
GNU General Public License v3.0
37 stars 10 forks source link

Create /root/.profile #6

Open rosenrost opened 4 years ago

rosenrost commented 4 years ago

4

This .profile script checks for running Rastari (i.e. is script run.sh running) and doesn't try to start another Rastari session. This allows to log in as root.

In addition to this change, a user pi (UID 1000, password "raspberry") and group pi (GID 1000) should be added and the sudo command should be installed ("apt-get install sudo"), so one can login as user pi and switch to root by typing "sudo su -".