You can also do this: echo "commands and stuff here" | su $USER Seems to be little more portable. James -- James Brister brister at decwrl.dec.com DEC Western Software Lab., Palo Alto, California. .....!decwrl!brister