No, you don't have to compile. Everything of course works like a standard Unix.
I'm astonished however about your su command, and beeing able to feed the passwd through a shell script. Normally, systems are more secure than *that* and
you'll have to type manually the passwd. (su command refuses to take its
input from something not a normal tty terminal).
You can also have a look at the "login" command and its man pages.
|