Skip to main content
Solved

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

  • November 26, 2024
  • 5 replies
  • 75 views

NeiSpe77
Forum|alt.badge.img+8

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!

Best answer by Shyamsundar

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.

 

 

 

 

5 replies

Forum|alt.badge.img+3
  • New Contributor
  • November 26, 2024

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


A_Collins
Forum|alt.badge.img+11
  • Contributor
  • November 27, 2024

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
Forum|alt.badge.img+13
  • Jamf Heroes
  • Answer
  • November 27, 2024

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.

 

 

 

 


AJPinto
Forum|alt.badge.img+26
  • Legendary Contributor
  • November 27, 2024

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
Forum|alt.badge.img+8
  • Author
  • Contributor
  • November 27, 2024

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.

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!