# Login and timeout

**URL:** <https://dietpi.com/forum/t/login-and-timeout/23568>\
**Category:** Troubleshooting\
**Created:** [3 June 2025 20:17 UTC](https://dietpi.com/forum/t/login-and-timeout/23568 "2025-06-03T20:17:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![schnedan](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/ce7236/32.png) [@schnedan](https://dietpi.com/forum/u/schnedan)\
**Post date:** [3 June 2025 20:17 UTC](https://dietpi.com/forum/t/login-and-timeout/23568/1 "2025-06-03T20:17:04Z")

</div>

### Creating a bug report/issue

#### Required Information

G\_DIETPI\_VERSION\_CORE=9  
G\_DIETPI\_VERSION\_SUB=13  
G\_DIETPI\_VERSION\_RC=2  
G\_GITBRANCH=‘master’  
G\_GITOWNER=‘MichaIng’  
G\_LIVE\_PATCH\_STATUS[0]=‘not applicable’  
G\_LIVE\_PATCH\_STATUS[1]=‘applied’  
G\_LIVE\_PATCH\_STATUS[2]=‘applied’  
G\_LIVE\_PATCH\_STATUS[3]=‘applied’

bookworm 1

Linux Diethole 6.12.25+rpt-rpi-v6 #1 Raspbian 1:6.12.25-1+rpt1 (2025-04-30) armv6l GNU/Linux

armhf

RPi B+ (armv6l)

5V 2A+

SanDisk…

1. configured the pi with a long password like 49 chars (managed by Keepass)
2. needed to login localy at the machine
3. was not able to type the password in the timeout where the login screen returned to the username… (Situation: connected keyboard and screen, 2nd computer showing the password, then typing…)
4. retryed several times… no luck to to it in time!
5. (2nd Problem: to force the pi to get a (new) IP as the router was down due a provider problem I connected a switch with dhcp… as it seemed the pi was not getting a new IP I needed to reboot without possibility to login. So I needed to Powercycle)

#### Expected behaviour

a1.) I am new to diet pi. I was not aware of the timout. a hint at installation would be helpfull!  
a2.) when setting a long password warn about the timeout issue, or auto lengthen it  
b.) Possibility in config to change the timeout (at least I don’t find such an option)  
c.) at login ability to reboot (see 2nd problem)  
d.) and/or at login ability to trigger fetiching new IP  
e.) at login show IP (currently my router, a Fritzbox 7530 is not updating reliable the list of current IPs in the network ☹ )

#### Actual behaviour

login timeout is to short to enter long passwords directly with keyboard

#### Extra details

I as a User was not aware there is a problem waiting until I needed the local login for emergnecy access as the device was rebooted after an Update an due some other network problem happening at the same time I was not are of the actual IP (if any) and so not able to use ssh.

If just advice resolves my problem, please give advice, if not, than handle it as a bug report. Thx

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [4 June 2025 06:12 UTC](https://dietpi.com/forum/t/login-and-timeout/23568/2 "2025-06-04T06:12:18Z")

</div>

This has nothing to do with DietPi scripts are functions. Behaviour should be same on RPi OS or other Debian systems. The `agetty` login process (which handles TTY logins) has a default timeout of 60 seconds of inactivity during login. If you take longer than 60 seconds to type the password (or nothing is typed at all), it times out and resets.

You can override the `agetty` timeout for the login prompt by creating a persistent boot-time configuration `/etc/systemd/system/getty@tty1.service.d/override.conf` where you can set an own timeout.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [29 November 2025 18:12 UTC](https://dietpi.com/forum/t/login-and-timeout/23568/3 "2025-11-29T18:12:34Z")

</div>

Closed on 29 November 2025 18:12 UTC

This topic was automatically closed 178 days after the last reply. New replies are no longer allowed.
