How is the 'username' field populated if it is populated at all?

jbarnes
New Contributor

I have the JSS set up to collect the usernames used to log into each machine -- and the username field is populated for a few managed machines (namely, mine) but not for others. If I search in inventory for a username, the machines that it has logged into will show up -- but this is separate from the username field for the computer, which is usually blank.

I had seen a discussion where it was being populated and sent to the server via recon with a switch setting -- but does the JSS actually do it at all otherwise, and if so, how?

2 REPLIES 2

wdpickle
Contributor

We have a policy that runs at login (called "Populate real name in JSS"). We "execute":
jamf recon -endUsername "cat /private/tmp/username.txt" -realname "cat /private/tmp/realname.txt"

scottb
Honored Contributor

See this thread. I have a post there that solved it for us. Thanks to the help of the folks here.

Get User Names