# Enable authenticated shell through serial console in production mode

**URL:** <https://forums.balena.io/t/enable-authenticated-shell-through-serial-console-in-production-mode/372422>\
**Category:** balenaOS\
**Tags:** serial\
**Created:** [November 6, 2024, 5:39pm UTC](https://forums.balena.io/t/enable-authenticated-shell-through-serial-console-in-production-mode/372422 "2024-11-06T17:39:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrj-d](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jrj-d](https://forums.balena.io/u/jrj-d)\
**Post date:** [November 6, 2024, 5:39pm UTC](https://forums.balena.io/t/enable-authenticated-shell-through-serial-console-in-production-mode/372422/1 "2024-11-06T17:39:03Z")

</div>

Hello,  
I’m using the stock “Compulab IOTDIN-iMX8P 1G-8G DRAM” image and I’d like to be able to open a shell through the DBG USB port in a secure manner.  
This brings me two questions:

1. Is it possible to enable the serial console on this device in the production mode?
2. Is it possible to add an authentication layer (most likely password auth) to the shell login in the serial console?

Cheers,  
Julien

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [November 14, 2024, 12:53pm UTC](https://forums.balena.io/t/enable-authenticated-shell-through-serial-console-in-production-mode/372422/3 "2024-11-14T12:53:21Z")

</div>

Hello @jrj-d first of all welcome to the balena community!

Apologizes for the delay answering this message and we are discussing internally how we can help you more!

Let me know if you have more questions!

---

<div class="post-metadata">

**Author:** ![jrj-d](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jrj-d](https://forums.balena.io/u/jrj-d)\
**Post date:** [November 14, 2024, 4:07pm UTC](https://forums.balena.io/t/enable-authenticated-shell-through-serial-console-in-production-mode/372422/4 "2024-11-14T16:07:15Z")

</div>

Hell @mpous, thanks for your response.  
Please let me know if you need more information. Happy to help!
