# Naming convention for remote user

**URL:** <https://forum.ansible.com/t/naming-convention-for-remote-user/36716>\
**Category:** Ansible Project\
**Created:** [June 10, 2022, 6:40pm UTC](https://forum.ansible.com/t/naming-convention-for-remote-user/36716 "2022-06-10T18:40:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noah\_Walden](https://avatars.discourse-cdn.com/v4/letter/n/a9a28c/32.png) [@Noah\_Walden](https://forum.ansible.com/u/Noah_Walden)\
**Post date:** [June 10, 2022, 6:40pm UTC](https://forum.ansible.com/t/naming-convention-for-remote-user/36716/1 "2022-06-10T18:40:03Z")

</div>

Hi all,

Is there a standard username and/or UID people tend to attach to the user ansible-playbook authenticates as on the remote host? We’d like to start creating a system user with sudo privileges on all hosts that Ansible needs to manage. However, I haven’t been able to find a standard naming convention for such a user.

Thanks!

Noah

---

<div class="post-metadata">

**Author:** ![Nico\_Kadel-Garcia](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/nico_kadel-garcia/32/9998_2.png) [@Nico\_Kadel-Garcia](https://forum.ansible.com/u/Nico_Kadel-Garcia)\
**Post date:** [June 11, 2022, 1:02am UTC](https://forum.ansible.com/t/naming-convention-for-remote-user/36716/2 "2022-06-11T01:02:39Z")

</div>

> Hi all,
> 
> Is there a standard username and/or UID people tend to attach to the user ansible-playbook authenticates as on the remote host? We’d like to start creating a system user with sudo privileges on all hosts that Ansible needs to manage. However, I haven’t been able to find a standard naming convention for such a user.

It's not an ansible spec, it depends on the target operating systems.  
I've heard "localuser", "azureuser", "awsuser, and "clouduser".

Nico

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [June 13, 2022, 6:50pm UTC](https://forum.ansible.com/t/naming-convention-for-remote-user/36716/3 "2022-06-13T18:50:23Z")

</div>

There is no 'standard', just use the user name that you think best  
represents it's usage. 'ansible\_user\_for\_automation' is taken though  
😉

---

<div class="post-metadata">

**Author:** ![Mike\_Eggleston](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Post date:** [June 13, 2022, 6:56pm UTC](https://forum.ansible.com/t/naming-convention-for-remote-user/36716/4 "2022-06-13T18:56:23Z")

</div>

I’ve used fname (First letter first name and all of the last name) and “svc.” for service accounts.

Mike
