# How to increase time on prompts for passwords?

**URL:** <https://forum.endeavouros.com/t/how-to-increase-time-on-prompts-for-passwords/51941>\
**Category:** Newbie\
**Created:** [March 5, 2024, 11:02pm UTC](https://forum.endeavouros.com/t/how-to-increase-time-on-prompts-for-passwords/51941 "2024-03-05T23:02:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GDCeli](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/g/a87d85/32.png) [@GDCeli](https://forum.endeavouros.com/u/GDCeli)\
**Post date:** [March 5, 2024, 11:02pm UTC](https://forum.endeavouros.com/t/how-to-increase-time-on-prompts-for-passwords/51941/1 "2024-03-05T23:02:06Z")

</div>

Hi,

I’m new to working with Linux and was trying to install the unreal engine from the aur using yay. I even came quite close to succeeding in doing so, but decided, after an installation process of 1.5h that I might as well take out the trash. Big mistake! within the ~15min i was gone a prompt for my user password was required of me, timed out, thus resulting in an error which ended the installation process.

Is there a way of increasing the time I have to enter a password when prompted for one within the terminal?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 5, 2024, 11:12pm UTC](https://forum.endeavouros.com/t/how-to-increase-time-on-prompts-for-passwords/51941/2 "2024-03-05T23:12:47Z")

</div>

I think you could pass --sudoloop to yay to prevent the sudo to time out:

` --sudoloop Loop sudo calls in the background to avoid timeout`

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [March 5, 2024, 11:12pm UTC](https://forum.endeavouros.com/t/how-to-increase-time-on-prompts-for-passwords/51941/3 "2024-03-05T23:12:53Z")

</div>

```t
yay --sudoloop --save

```

That will save it to your config file.

---

<div class="post-metadata">

**Author:** ![mayhem](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mayhem/32/92575_2.png) [@mayhem](https://forum.endeavouros.com/u/mayhem)\
**Post date:** [March 7, 2024, 8:45am UTC](https://forum.endeavouros.com/t/how-to-increase-time-on-prompts-for-passwords/51941/4 "2024-03-07T08:45:15Z")

</div>

another (temporary) solution in such a case is to just run yay again. i have had it timeout on me but running the same command i was trying to run before leads to the sudo prompt almost immediately. yay has already downloaded and prepared the source for install/update at that point and that does not get reset when sudo times out

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [March 9, 2024, 8:45am UTC](https://forum.endeavouros.com/t/how-to-increase-time-on-prompts-for-passwords/51941/5 "2024-03-09T08:45:35Z")

</div>

Closed on March 9, 2024, 8:45am UTC

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