LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-09-2015, 02:05 PM   #1
wood@addanc
Member
 
Registered: Sep 2004
Posts: 31

Rep: Reputation: 15
Behaviour after x3 unsuccessful sudo password attempts


I initially attempted to ssh into a box running mythbuntu (I'm absolutely certain I used the correct password); I subsequently opened a terminal on the mythbuntu box and attempted to sudo <commmand> and the password was rejected again. What is the default behaviour of ubuntu? Does it lock the user out for a period of time or do I need to do some other recovery action to gain access to root commands again?
 
Old 01-09-2015, 03:35 PM   #2
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
What version are you using?
 
Old 01-10-2015, 02:25 AM   #3
wood@addanc
Member
 
Registered: Sep 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Mythbuntu 14.04.1. After I re-booted the lock-out was removed enabling access to commands.
 
Old 01-10-2015, 06:04 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
In that case I think you can log in as root by simply booting to recovery with no password needed.

When you get the prompt run;
Code:
cat /var/log/auth.log | grep sudo
This should cast some light on the problem.

You may want to take a look at /etc/group to make sure you are still in the sudoers group.

The gratuitous # would be the place to reset your password too.

If you can't figure out anything else this would also be the place to create a new user.

Last edited by widget; 01-11-2015 at 03:23 AM.
 
Old 01-10-2015, 11:07 PM   #5
JimKyle
Member
 
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Xubuntu 16.04 LTS
Posts: 214
Blog Entries: 1

Rep: Reputation: 39
Why pipe the log to "sudo"? I suspect there's a typo there and you meant to pipe the result to "grep"...

If my guess is wrong then I have something to learn here...
 
Old 01-11-2015, 03:24 AM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by JimKyle View Post
Why pipe the log to "sudo"? I suspect there's a typo there and you meant to pipe the result to "grep"...

If my guess is wrong then I have something to learn here...
You certainly do have something to learn. You need to learn that I really am good at screwing up when typing.

Thanks. I fixed it.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo: no pasword prompt, 3 incorrect password attempts dhuyvetter Linux - Software 6 01-31-2013 03:29 PM
account lock after 3 unsuccessful attempts not happening deep27ak Linux - Newbie 13 10-17-2012 08:13 AM
sudo: no password prompt but 3 incorrect attempts? daweefolk Linux - Software 2 11-06-2011 09:45 PM
how can I see firewall (iptables) logging? (e.g. unsuccessful incoming attempts) callagga Linux - Networking 7 06-28-2009 06:31 AM
how do i deny login after a certain no of unsuccessful attempts in fedora core2 darshan032002 Fedora 1 09-30-2004 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration