Is there away to get the Jamf logs in var with a standard user account?

NeiSpe77
New Contributor III

Just a quick question.

I have a problem where I cannot login with a Pre-Stage Enrolled admin account any longer. I was at first but not now.

https://community.jamf.com/t5/jamf-pro/cannot-login-with-local-admin/m-p/332899#M281166

I was in Zoom call with a Jamf tech and I am able to login with a Standard Student account. He had me run a command in Terminal and Secure token is enabled for both my Admin account and Student account. He asked for the logs on the mac but I can't navigate to /Var/Logs because we found out that a Standard User doesn't see "Go to Folder..." in the Finder Go.

To help him out does anyone know a way around this? He escalated the call to an engineer.
I could also create a new policy to create an admin but I thought I would ask her first before I do so.

Thanks!

1 ACCEPTED SOLUTION

Shyamsundar
Contributor

By default, the standard user will have access to the “Go to Folder” and “/Var/log” directories. If these directories are not accessible, their access will be restricted.Additionally, you can attempt to navigate to these directories using the Spotlight search feature.

 

Screenshot 2024-11-27 at 11.17.46.png

 

 

 

View solution in original post

5 REPLIES 5

Simgames
New Contributor

Are you able to log in on a website instead of the finder?

A_Collins
Contributor

Standard user can read the logs or use the Go To Folder option unless it has been disabled by management. 

I think first you need to check folder permissions with "stat -f '%A %N' /var/log" 

If standard user is not blocked or read access then you can try cat /var/log/jamf.log

but if it set to admin or root level, then you need to ask people in the team whoever managing it

 

Shyamsundar
Contributor

By default, the standard user will have access to the “Go to Folder” and “/Var/log” directories. If these directories are not accessible, their access will be restricted.Additionally, you can attempt to navigate to these directories using the Spotlight search feature.

 

Screenshot 2024-11-27 at 11.17.46.png

 

 

 

AJPinto
Honored Contributor III

Unless you are restricting finder functionality somehow, anyone should see go to folder. If it's not in the menu bar for whatever reason, try the following:

  • Command+Shift+G which is the keyboard shortcut for go to folder.
  • Open terminal and type "open /var/log" then hit return, and finder will open that folder path.

NeiSpe77
New Contributor III

Thanks for your help. Yea for some reason the Go To Folder in Go is missing. I usually use the keyboard shortcut. I checked my restrictions and didn't see anything.

I ended up using Spotlight to get to it.

Thanks!