We have a script here that is used to change NIS+ passwords. There are still a few bugs in it, but the rules are:
- Script is owned by root, and suid.
- Use the -T (taint option).
- This only runs on our intranet.
- Use the -T (taint option).
- Test, test and test again.
- Use the -T (taint option).
- When you think it works properly with no unwanted side effects, give it to your most troublesome "wanna be a programmer" to test.
If anyone is interested, email me at:
rayk@transport.nsw.gov.au
for a copy.
Ken