Skip to main content
Question

What naming convention do you use?

  • March 24, 2023
  • 8 replies
  • 90 views

janzaldua
Forum|alt.badge.img+7

Hello all.

What is the best naming convention to use for Jamf. We recently talked to a systems engineer, who stated that having the Serial Number in the name is not a good practice, from a security standpoint. That it is not good to have serial numbers exposed.

What naming convention do you use for your devices in jamf?

8 replies

junjishimazaki
Forum|alt.badge.img+10
  • New Contributor
  • 423 replies
  • March 24, 2023

There is no right way for a computer naming convention since every company is going to have its own process but typically you don't want to use serial number as a computer name.  Depending on how many office locations you. You can use country code+city location+asset tag#-mb/md. So for example: USLA43943-MB. The MB=Macbook. MD=Mac desktop(imac/mac mini).  


janzaldua
Forum|alt.badge.img+7
  • Author
  • Valued Contributor
  • 55 replies
  • March 24, 2023

There is no right way for a computer naming convention since every company is going to have its own process but typically you don't want to use serial number as a computer name.  Depending on how many office locations you. You can use country code+city location+asset tag#-mb/md. So for example: USLA43943-MB. The MB=Macbook. MD=Mac desktop(imac/mac mini).  


Sorry for my ignorance, but what would be the reason to NOT have the Serial Number as part of the computer name? If someone with bad intentions did have the serial number, what could they do with it?


junjishimazaki
Forum|alt.badge.img+10
  • New Contributor
  • 423 replies
  • March 24, 2023

I'm not saying for "security" reasons you shouldn't use the serial number as a computer name. It's just not generally good practice to use a serial number as a computer. You want a more short descriptive name for a computer name. I honestly don't think having a serial number can do much harm if it was "stolen". It just uniquely identifies the computer. If your system engineer can provide more insight into what can be done with it. 


Forum|alt.badge.img+9
  • Contributor
  • 83 replies
  • March 25, 2023

Sorry for my ignorance, but what would be the reason to NOT have the Serial Number as part of the computer name? If someone with bad intentions did have the serial number, what could they do with it?


Including the serial number in the hostname can inadvertently expose sensitive information about the hardware, making it easier for potential attackers to target specific models, manufacturers, or even individual devices. This information can be used to exploit known vulnerabilities or to customize attacks for specific hardware.

 


Forum|alt.badge.img+10
  • Valued Contributor
  • 193 replies
  • March 27, 2023

Including the serial number in the hostname can inadvertently expose sensitive information about the hardware, making it easier for potential attackers to target specific models, manufacturers, or even individual devices. This information can be used to exploit known vulnerabilities or to customize attacks for specific hardware.

 


Pretty sure from early 2021 new Macs serial are random so there is no formula any more to work out hardware type.

https://www.macworld.com/article/676451/apple-switches-to-random-serial-numbers-on-its-products.html#:~:text=From%20'early%202021'%20it%20will,based%20on%20its%20serial%20number.


Forum|alt.badge.img+2
  • New Contributor
  • 19 replies
  • March 27, 2023

I use lastname-serialnumber , and do it this way during enrolment

many reasons are given inside my blog's article

https://automatizeblog.wordpress.com/2022/08/05/jamf-rename-a-mac-to-lastname-serial/

 


Forum|alt.badge.img+9
  • Contributor
  • 83 replies
  • March 27, 2023

Pretty sure from early 2021 new Macs serial are random so there is no formula any more to work out hardware type.

https://www.macworld.com/article/676451/apple-switches-to-random-serial-numbers-on-its-products.html#:~:text=From%20'early%202021'%20it%20will,based%20on%20its%20serial%20number.


Yes, the reason is mostly only valid for earlier hardware.

Forum|alt.badge.img+15
  • Valued Contributor
  • 118 replies
  • March 27, 2023

I always try to avoid anything that requires a human being type something on the keyboard.

Humans suck at entering asset tags and stuff like that.

A naming convention should be fully automated and generate a unique string.

It is also a good idea to be under 15 characters in case you are interacting with AD.

For those reasons I really like something based off the serial number.