Site Tools


Sidebar

ccdc_checklist

This is an old revision of the document!


CCDC Checklist

Password Changes

Change all shell user passwords:

read; for u in $(cat /etc/passwd | grep -E "/bin/.*sh" | cut -d":" -f1); do echo "$u:$REPLY" | chpasswd ; done

Services

Change all shell users' Samba passwords:

read; for u in $(cat /etc/passwd | grep -E "/bin/.*sh" | cut -d":" -f1); do echo -e "$REPLY\n$REPLY" | smbpasswd -sU $u ; done
ccdc_checklist.1636163407.txt.gz · Last modified: 2021/11/06 01:50 by Charlie Root