Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /etc/passwd | while read -r line ; do
- user=$(echo $line | cut -d ":" -f 1)
- password=$(cat /etc/shadow | grep $user | cut -d ":" -f 2)
- echo $password
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement