![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Server Platforms Discussion regarding any server based ubuntu release. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() |
Sudo without password bug
I had been using sudo like normal for a long while now, when suddenly I boot up today and discover that sudo is running everything immediately after the command, without asking for the root password. I am running Hoary and I apply all the synaptic updates everyday. Even when I open update-manager or synaptic, instead of the usual gksudo pop-up window that promts me for the root password I get no password prompt and the application opens. I am worried about the security implications of this and am not sure what changed in the updates that I applied to cause this behavior.
|
|
|
|
|
|
#2 | |
|
Just Give Me the Beans!
![]() |
Re: Sudo without password bug
Quote:
|
|
|
|
|
|
|
#3 |
|
Ubuntu Extra Shot
![]() |
Re: Sudo without password bug
Does this happen every single time, or does it sometimes ask for a password and sometimes not? Sudo has a timeout (I believe the default is five minutes) during which time you don't need to re-enter your password every time you do a sudo command; you need only enter it the first time.
Of course, if it's not asking at all, then you have a major problem that needs to be addressed!
__________________
$ whatis themeaningoflife themeaningoflife: not found |
|
|
|
|
|
#4 |
|
Just Give Me the Beans!
![]() Join Date: Dec 2004
Location: Oslo, Norway
Beans: 61
Kubuntu 8.04 Hardy Heron
|
Re: Sudo without password bug
What is the contents of /etc/sudoers file?
|
|
|
|
|
|
#5 | ||
|
Just Give Me the Beans!
![]() |
Re: Sudo without password bug
Quote:
Quote:
Edit: Looking at the file I guessed that removing the NOPASSWD would do the trick and it did. Thanks for the suggestions. I still wonder how that got there in the first place. Last edited by reedlaw; April 1st, 2005 at 09:57 PM.. |
||
|
|
|
|
|
#6 | |
|
Just Give Me the Beans!
![]() Join Date: Mar 2005
Location: Romania
Beans: 28
|
Re: Sudo without password bug
Quote:
Change with visudo in the file /etc/sudoers, the line: Code:
Defaults !lecture,tty_tickets Code:
Defaults !lecture,tty_tickets,timestamp_timeout=0 Code:
Defaults !lecture,!tty_tickets because of (from the sudoers manpage):
|
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Beans: 2
|
Re: Sudo without password bug
i have the reverse problem, i need to be root but cannot.
|
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2005
Beans: 21
|
Re: Sudo without password bug
Yeah its great when you can just type --> 'sudo -s' and hit enter, and then you are at the root prompt without the need for a password, man talk about ---> ZERO SECURITY!
Tisk Tisk Ubuntu Team ---> ![]() |
|
|
|
|
|
#9 |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2005
Location: Wales, UK
Beans: 113
|
Re: Sudo without password bug
You still need a password to do that.
|
|
|
|
|
|
#10 |
|
Skinny Soy Caramel Ubuntu
![]() |
Re: Sudo without password bug
Why does your last line readreed
ALL=NOPASSWD: ALL I think that is why you are not asked for a password |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|