mirror of
https://github.com/K9T33NwthTookThis/RPC-info-dumper.git
synced 2025-07-18 22:46:10 +00:00
Update info-dumper.sh
This commit is contained in:
parent
76cbd24160
commit
b38929a9f7
@ -28,7 +28,7 @@ lspci >> /tmp/rpc-dump.txt
|
|||||||
printf "\n uptime:" >> /tmp/rpc-dump.txt
|
printf "\n uptime:" >> /tmp/rpc-dump.txt
|
||||||
uptime >> /tmp/rpc-dump.txt
|
uptime >> /tmp/rpc-dump.txt
|
||||||
|
|
||||||
# Remove all user names on system
|
# Remove non system user names on system
|
||||||
getent passwd | while IFS=: read -r name password uid gid gecos home shell; do
|
getent passwd | while IFS=: read -r name password uid gid gecos home shell; do
|
||||||
# System accounts shouldn't be redacted, as well as some user accounts
|
# System accounts shouldn't be redacted, as well as some user accounts
|
||||||
if (( $uid < 1000 )); then
|
if (( $uid < 1000 )); then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user