Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Server Platforms
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

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
Old November 22nd, 2004   #1
troutrou
Just Give Me the Beans!
 
Join Date: Oct 2004
Location: France, Angers
Beans: 48
Sudo bug ?

I don't quite understand this 'sudo" thing. Is it like a proper root terminal except that you must call sudo for each and every command you want to run as root ?

I was expecting sudo to therefore ask me for my password each and everytime, but it doesn't...

For example I typed "sudo /etc/init.d/./cron stop", and it asked me the PW.
Then a second later I stopped another service/daemon in the same way, but this time it did NOT ask me my PW ! :-O

Is this a bug ? Must be, it's scary !


Vince, very concerned... :-/
troutrou is offline   Reply With Quote
Old November 22nd, 2004   #2
WW
Fresh Brewed Ubuntu
 
Join Date: Oct 2004
Beans: 1,532
Re: Sudo bug ?

Try this:
Code:
 $ man sudo
and read the first paragraph. You'll see this:
Quote:
Once a user has been authenticated, a timestamp is updated and the user may then use sudo without a password for a short period of time (15 minutes unless overridden in sudoers).
WW is offline   Reply With Quote
Old November 23rd, 2004   #3
troutrou
Just Give Me the Beans!
 
Join Date: Oct 2004
Location: France, Angers
Beans: 48
Re: Sudo bug ?

Ah, thanks, I understand much better now, I can stop worrying, sudo is working, no bug :-)
troutrou is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:42 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry