1 parent 979bb17 commit 1a1eb32Copy full SHA for 1a1eb32
1 file changed
index.html
@@ -903,7 +903,7 @@
903
display 'services' "$(systemctl list-units --type=service --state=running --no-pager --quiet | cut -d " " -f 3)" "${!services}"
904
;;
905
'users')
906
- display 'users' "$(sudo cat /etc/shadow | grep -v '!' | cut -d ':' -f 1)" "$users"
+ display 'users' "$(sudo cat /etc/shadow | grep -Ev ':\!|:\*' | cut -d ':' -f 1)" "$users"
907
908
'packages')
909
if [[ "$os" == 'redhat' ]]; then
0 commit comments