I'm not sure what etadmin_mod is and since you're launching it via ./etadmin_mod I'm guessing it's not part of Ubuntu.
In any case, I think the problem you're seeing is because /bin/sh now points /bin/dash not /bin/bash. Bash provides a lot of extra options and builtins not provided by dash, one of which is the -p option for type. A number of scripts will include these options in shell scripts because the authors are used bash being the default. To fix your problem either change the first line of the script to: #!/bin/bash or I think you'll be able make bash the default shell again by running: sudo dpkg-reconfigure dash and choosing 'no' Please let me know if this solves your problem and I'll close this bug ** Changed in: Ubuntu Status: Unconfirmed => Needs Info -- erro to lauch a sh https://launchpad.net/bugs/71471 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs