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