Guest User

Untitled

a guest
Jun 13th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. find / -type f -print0 2>/root/.rightserr| xargs -0 ls -lAGg|awk '{print $1 " " $7}' > /root/.rights
  4. find / -type d -print0 2>>/root/.rightserr| xargs -0 ls -lAGgd|awk '{print $1 " " $7}' >> /root/.rights
  5. chmod 400 /root/.rights
Add Comment
Please, Sign In to add comment