0

is it possible to set a timeout for ubuntu to ask the user for his login password. Let me give you an example. I put my laptop to sleep and after 2.5 seconds I think 'ah f**k, I forgot something'. So I reopen my laptop and he asks me for my password. Is it possible to set a timeout for like 30 seconds?

Maxstgt
  • 53

1 Answers1

0

As far as how long you have to wait after closing your machine, I'm not aware of any value you can change for that. It's technically considered logging out which always requires a password to get back in. You can disable the password requirement completely by following the instructions in this link Disable password login requirement

Dont think this what you meant, but to set the timeout for how often you need to enter your sudo password from the last time you entered it, here is a link with instructions [Change sudo password timeout][1] [1]: https://itsfoss.com/change-sudo-password-timeout-ubuntu/

jwcooper
  • 169