@bros/Soren:
I can confirm that the exec redirection script that you both have problems with works exactly as advertised under bash 3.2.25 and 2.05b (well, once you've corrected /etc/passed to /etc/passwd, of course).
On the off-chance that it's being run under a non-Bourne shell, as Corne pointed out, try prefixing your script with the line:
#!/bin/sh
If that doesn't work, post the actual error message you see. »