LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-03-2009, 08:38 PM   #1
PossumJerky
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?

Thanks.
 
Old 02-03-2009, 10:08 PM   #2
slimm609
Member
 
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
PossumJerky
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Hmmmm...

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.

Alex
 
  


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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:01 AM.

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