Mint Update ROOT / password access

Questions about applications and software
Forum rules
Before you post please read this

Mint Update ROOT / password access

Postby jungar on Mon Sep 08, 2008 1:07 am

hey guys,

I read a couple of times that after i type in my password to open mint update... it should automatically lock after 15 minutes or so. so that if i wanna access it later on, i must type in my root password.

BUT

this is not happening.... i just type my password once... and i could still access it even after 3 hours. is this normal? is there a security risk?

the only way of getting it to ASK for my password to access mint update is if i restart or log off.

what should i do? is this normal?
User avatar
jungar
Level 3
Level 3
 
Posts: 102
Joined: Fri Apr 25, 2008 10:25 pm

Linux Mint is funded by ads and donations.
 

Re: Mint Update ROOT / password access

Postby Husse on Mon Sep 08, 2008 6:26 am

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)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Mint Update ROOT / password access

Postby jungar on Mon Sep 08, 2008 11:08 am

Husse wrote: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)



well.. like i said.. the first time i open it, i need to put in my password. but after that. anytime i click on the Mintupdate icon, it opens without asking for a password.

the same is true of other applications.. heck, i even managed to open the Package Manager without a password (I guess because I opened Mintupdate a couple of minutes ago)....

is there like a timer for it to switch back to "asking for my password"?

am i safe at the time being?
User avatar
jungar
Level 3
Level 3
 
Posts: 102
Joined: Fri Apr 25, 2008 10:25 pm

Re: Mint Update ROOT / password access

Postby jungar on Tue Sep 09, 2008 2:16 pm

help? anyone?
User avatar
jungar
Level 3
Level 3
 
Posts: 102
Joined: Fri Apr 25, 2008 10:25 pm

Re: Mint Update ROOT / password access

Postby Husse on Wed Sep 10, 2008 6:08 am

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
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 20 guests