This Tutorial helps to How to Enable Standard Users to Run a Program with Admin Rights without the Password C:WindowsSystem32runas.exe /savecred /user:ngl. Note: Not all applications will run or get extracted with this method, but for me some of the apps that I desperately needed, did. Like 7Zip is one of the apps that are not on my university’s computer and with this method I was able to use the app on these administrator restricted computers.
Start your Mac and log in as an administrator or the root user. To log in as the root user, click 'Other' in the login window, enter 'root' in the 'Name' box and the root user's password in the 'Password' box. I have an application set as a remote app (W2012) that works fine. As long as only one person at a time runs it. In order to set the application to run in multi-user mode, I have to use a switch '/m'. This actually works well, but ONLY if the application (with the correct switch) is run with administrator privs.
You must be an administrator or root user, also called superuser, to execute many of the commands used to manage a server.
For example, if you’re not an administrator or a root user, entering the
shutdown command gives you an error:
This is because the
shutdown command can be run only by the root user or by an administrator user with root user privileges.
To run commands with superuser privileges, use the
sudo stands for superuser do.
The following example works on computers with macOS installed, so don’t run it unless you want to restart your computer:
% sudo shutdown
You’re asked for the password of the current user.
Only administrator users can use
sudo. If you’re not logged in as an administrator, you can do so by entering the following command, where adminUsername is the name of an administrator user:
You’re asked to enter the password for adminUsername, after which a new shell is opened for that user.
If a command requires it, you can use
su to switch to the root user. Under normal circumstances, you shouldn’t log in as the root user.
Important: If you use
su to log in as the root user, be especially careful, because you have sufficient privileges to make changes that can cause your computer to stop working.
Are you sure your log in account is an Admin account? Check that in Users & Groups preferences.
What are the associated permissions for the program's file in your Applications folder and what permissions are associated with Applications folder itself? They should be, respectively:
Check these and, if needed, change them by selecting the file or folder. Press COMMAND-I to open the Get Info window. The Sharing & Permissions panel is at the bottom. To make a change you first need to click on the little lock icon and authenticate with your admin password.
Jun 21, 2014 1:02 PM