VMware Workspace ONE Community
jbarzFunk32
Enthusiast
Enthusiast

Shared Mac Device

Has anyone successfully setup a Mac Book to be used in a shared environment and willing to give details on how? Ideally, I would want to have WSO console reflect who is signed in at all times but doesn't seem logistically possible.
Labels (1)
0 Kudos
2 Replies
lazyGhost
Contributor
Contributor

Perhaps a custom attribute profile that gets the output of:
currentUser=$(/bin/ls -l /dev/console | /usr/bin/awk '{ print $3 }')
echo $currentUser

There are many ways to skin the cat on grabbing the current user. This is off the top of my head and I'm still a WS1 novice.
0 Kudos
jbarzFunk32
Enthusiast
Enthusiast

I have a few scripts like this that can pull the currently logged in user. My request for assistance is more how to reflect that in the Friendly Name in Device Details.
0 Kudos