Is there a way to require a user to wait a certain time instead of asking for a password every time he wants to execute a command as root or access the root / or another user account?

  • deadcatbounce@reddthat.com
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    21 hours ago

    Yes; the command prefix that you’re looking for is

    shutdown now ; (followed by your sudo command if you wish)

    It will provide the appropriate delay before using the root command via sudo or having logged again as root (sigh)!