diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1147,5 +1147,12 @@ Rootly Powers and Processes ``` c. Find any sets of entries that have duplicate UIDs. + + ```bash + #!/bin/bash + + cat /etc/passwd | grep -v -E '^#' | awk -F: '{ print $3 }' | sort -n | uniq -d + ``` + d. Find entries that have duplicate login names. e. Find entries that have no expiration date (needs /etc/shadow). |
