From dveatch, 2 Years ago, written in Plain Text.
Embed
  1. ln -sf newgrp   /usr/src/shadow-4.5/__shadowdest//usr/bin/sg
  2. ln -sf vipw     /usr/src/shadow-4.5/__shadowdest//usr/sbin/vigr
  3. for i in su; do \
  4.         chmod 4711 /usr/src/shadow-4.5/__shadowdest//usr/bin/$i; \
  5. done
  6. for i in chage chfn chsh expiry gpasswd newgrp passwd chage chgpasswd chpasswd groupadd groupdel groupmod newusers useradd userdel usermod newgidmap newuidmap; do \
  7.         chmod 4711 /usr/src/shadow-4.5/__shadowdest//usr/bin/$i; \
  8. done
  9. chmod: cannot access '/usr/src/shadow-4.5/__shadowdest//usr/bin/chgpasswd': No such file or directory
  10. chmod: cannot access '/usr/src/shadow-4.5/__shadowdest//usr/bin/chpasswd': No such file or directory
  11. chmod: cannot access '/usr/src/shadow-4.5/__shadowdest//usr/bin/groupadd': No such file or directory
  12. chmod: cannot access '/usr/src/shadow-4.5/__shadowdest//usr/bin/groupdel': No such file or directory
  13. chmod: cannot access '/usr/src/shadow-4.5/__shadowdest//usr/bin/groupmod': No such file or directory
  14. chmod: cannot access '/usr/src/shadow-4.5/__shadowdest//usr/bin/newusers': No such file or directory
  15. chmod: cannot access '/usr/src/shadow-4.5/__shadowdest//usr/bin/useradd': No such file or directory
  16. chmod: cannot access '/usr/src/shadow-4.5/__shadowdest//usr/bin/userdel': No such file or directory
  17. chmod: cannot access '/usr/src/shadow-4.5/__shadowdest//usr/bin/usermod': No such file or directory
  18. make[1]: Leaving directory '/usr/src/shadow-4.5/src'