00-wlanpi-motd still prompts for [sudo] password when it shouldn't
Opened this issue · 0 comments
joshschmelzle commented
The motd should not need elevated permissions or ask for them.
Steps to reproduce:
Run wlanpi-stats
or /etc/update-motd.d/00-wlanpi-motd
.
wlanpi@wlanpi-3fc:~ $ /etc/update-motd.d/00-wlanpi-motd
┌────────────┐
│ WLAN Pi M4 │
└────────────┘
Mode: classic
Release: 3.2.0-dev1
Uptime: 0 days, 0 hrs 33 mins 3 secs
Date: Tue 06 Feb 2024 12:12:18 AM EST
Memory: Total: 1896MB, Used: 210MB, Free: 1410MB
Disk: Total: 29GB, Used: 3.6GB, Free: 25GB
CPU temp: 66°C
CPU util: 3 %
Internet: Reachable
Network interfaces:
eth0 192.168.100.11
pan0 169.254.43.1
┌─────┐
│ Tip │
└─────┘
Execute "wlanpi-stats" to see CPU, memory and disk utilization, temperature, uptime, mode, and more.
[sudo] password for wlanpi:
sudo: a password is required