Mint Update ROOT / password access

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Husse

Re: Mint Update ROOT / password access

Post by Husse »

Do you close it and then open it again?
What about other applications that need sudo?
There is a setting for the time out of sudo/gksu (I've forgotten where though)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Re: Mint Update ROOT / password access

Post by Husse »

I was to answer you yesterday but time ran out
The time out period for sudo is controlled by the sudoers file.
Note that tampering with sudoers quite easily can make your computer useless
Give the command sudo visudo in a terminal (deliberately not put in a code box)
The unchanged sudoers file for Elyssa should be

Code: Select all

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults

Defaults        !lecture,tty_tickets,!fqdn

# User privilege specification
root    ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
The default time out is 15 minutes. To change that add
timestamp_timeout=x
to the Defaults line - like this
Defaults !lecture,tty_tickets,!fqdn,timestamp_timeout=x
where a positive number is the time out time, zero is always ask for a password and a negative number is never ask for a password
So for the time being set it to zero.
If something is tampering with your system you'll soon see requests for password
visudo is a special edition of the editor vi and behaves different from what we are used to
To save and quit (and this is inside a terminal) type :wq
Locked

Return to “Software & Applications”