Lost admin permissions on MAC

Ask your questions regarding TimeTrex installation here.
Locked
Erich
Posts: 15
Joined: Mon Dec 13, 2010 9:48 am
Location: Bern, Switzerland
Contact:

Lost admin permissions on MAC

Post by Erich »

Hi
I changed the permissions groups and added myself to the supervisor.
But now I can only choose 2 segments in the admin tab (show the pix I attached).
I was searching in the forum for a help but could find only solutions for Windows user.
I work with Max OSX. I tried this stuff with set_admin_permissions.php.

After typing http://localhost:8085/tools/set_admin_permissions.php in the safari browser the answer was 'This script can only be called from the Command Line.'

How I can set back my admin rights?

Thanks
Erich
Attachments
bild 1.tiff
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Lost admin permissions on MAC

Post by shaunw »

You will need to run that script (set_admin_permissions.php) from the terminal window, with the username that you wish to have administrator permissions as an argument at the end. It works the exact same on Windows or MAC, just slightly different ways to run the command.
Erich
Posts: 15
Joined: Mon Dec 13, 2010 9:48 am
Location: Bern, Switzerland
Contact:

Re: Lost admin permissions on MAC

Post by Erich »

Ok I use Terminal. Under which path do I have to write the command exactly?
i did it as shown in the pix 2!
Attachments
bild 2.tiff
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Lost admin permissions on MAC

Post by shaunw »

A command something along the lines of this should work:

Code: Select all

/Applications/timetrex/php/php /Applications/timetrex/timetrex/tools/set_admin_permissions.php Erich
Locked