

Now, this all depends on the they types of command and whether or not they require user intervention. You can also see here on Stack Overflow for a bit more information.Ī script is just a series of commands, so you could put it into a bash script.

If the end user isn't an administrator, but you need to do something that required root access, you can use su someAdminName, which will perform the command as someAdminName (you'll need his password).
#Mac terminal emulator exhaust password#
When the script runs, you'll have to enter your password (and be an administrator) If you need to do something that requires root (admin) access, you can prefix your command with sudo.

Dragging over the terminal icon will also work.
