SO cw1

LazySenpai Nov 13th, 2019 (edited) 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for i in  `grep bash /etc/passwd | cut -f 1 -d ':'`
  2. do
  3.     u=`id $i | cut -f 1 -d '('`
  4.     echo "$i $u"
  5. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand