Tweaks for CarPi setup/install
This commit is contained in:
9
CarPi/home/pi/.config/lxsession/LXDE-pi/sshpwd.sh
Executable file
9
CarPi/home/pi/.config/lxsession/LXDE-pi/sshpwd.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
export TEXTDOMAIN=pprompt
|
||||
|
||||
. gettext.sh
|
||||
|
||||
if [ -e /run/sshwarn ] ; then
|
||||
zenity --warning --width=400 --text="$(gettext "SSH is enabled and the default password for the 'pi' user has not been changed.\n\nThis is a security risk - please login as the 'pi' user and run Raspberry Pi Configuration to set a new password.")"
|
||||
fi
|
||||
Reference in New Issue
Block a user