Ireng Posted June 7, 2016 Posted June 7, 2016 Hello to All! The systeminfo after login does not show up anymore!!! What might be the problem and where to look for fixing it ?? Regards, Ireng
Igor Posted June 7, 2016 Posted June 7, 2016 What do you have here: ls -l /etc/update-motd.d/ What have you done to your system? Any upgrades, crash during update, ...?
Ireng Posted June 7, 2016 Author Posted June 7, 2016 The content looks like : -rwxr-xr-x 1 root root 303 Mai 23 22:26 10-header-rwxr-xr-x 1 root root 6025 Mai 23 22:26 30-sysinfo-rwxr-xr-x 1 root root 4354 Mai 23 22:26 40-updates-rwxr-xr-x 1 root root 430 Mai 23 22:26 99-point-to-faq It happened since an upgrade. Do not why! Sorry! I fiddled with bash.bashrc as well! regards, Ireng
Ireng Posted June 9, 2016 Author Posted June 9, 2016 Any idea where I have to look and what to look for ?? regards, Ireng
Ireng Posted June 10, 2016 Author Posted June 10, 2016 How and where to invoke the sysinfo and update scripts to bring back the Sysinfo at login.?? Regards, Ireng
Ireng Posted June 15, 2016 Author Posted June 15, 2016 How to update /run/motd ?? Which script will do the job ?? regards, Ireng
zador.blood.stained Posted June 15, 2016 Posted June 15, 2016 /etc/motd should be linked to /var/run/motd; /var/run/motd should be updated by pam_motd
Ireng Posted June 15, 2016 Author Posted June 15, 2016 Well thanks for the information provided. /var/run/motd was missing.....! Only /var/run/motd.new was available just copied another instance of /var/run/motd from a second cubietruck and made some adjustments in the file e.g. ip-adresse! regards, Ireng
zador.blood.stained Posted June 15, 2016 Posted June 15, 2016 /var/run/motd should be generated automatically on each login, and it will certainly disappear after reboot since /var/run is usually a tmpfs mount. If this file didn't exist for you, you should check your PAM configuration (probably pam_motd entries in /etc/pam.d/login)
Recommended Posts