Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 02-03-2009, 08:38 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
Question Ubuntu 8.10 server no longer requires sudo. Why?

I forgot my account password for an Ubuntu 8.10 server and found this procedure to log in and change it:

Turn your computer on.
Press ESC at the grub prompt.
Press e for edit.
Highlight the line that begins kernel , press e
Go to the very end of the line, add rw init=/bin/bash
press enter, then press b to boot your system.
Your system will boot up to a passwordless root shell.
Type in passwd username
Set your password.

This did what I wanted it to do, but I found out that afterward I no longer neede to sudo into commands that previously required it. The changes descibed above did not appear in successive reboots, but I'm baffled at what change occurred that changed the system behavior. Anyone have any ideas?

Old 02-03-2009, 10:08 PM   #2
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
when you did that you were logged in as root and thats why you did not have to do sudo.

That should only be used for password recovery and then reboot and login regularly.
Old 02-03-2009, 11:38 PM   #3
LQ Newbie
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0

The problem seemed to persist through a few reboots, then returned to normal (whatever that is).

Maybe I shouldn't buy my liquor at the hardware store.

Thanks for the response.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 requires current user's password robogymnast Linux - General 5 08-04-2008 08:14 AM
Ubuntu requires noapic redxii Ubuntu 7 06-16-2007 06:44 AM
Adobe Acrobate Reader Requires A Plugin-That Requires Open LDAP That Requires Berkely Old_Fogie Slackware 10 05-08-2006 05:04 AM
Ubuntu server no longer accessing internet xTheLostx Linux - Networking 3 09-29-2005 08:03 PM
Recent upgrade requires me to use sudo for gksu joffa Debian 5 07-15-2005 04:33 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:22 AM.

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