Help me hack my debian

  • DebianSpiral
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Sep 24, 2007
  • Posts: 14
  • Loc: East Coast U.S.A
  • Status: Offline

Post October 19th, 2007, 8:05 pm

So, I manage to install Debian Sarge but this time I manage to do it without setting a root password, and I boot into linux just fine, i'm having fun "su"ing without being prompted for a password, then I reboot my system and come back to find that root has a password now. wth?! So of course I guess every password I can but nah, no go it's Linux.

Any ideas anyone?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 19th, 2007, 8:05 pm

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post October 20th, 2007, 2:45 am

Well it sounds like it's still new, reinstall it right this time. :D
Strong with this one, the sudo is.
  • DebianSpiral
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Sep 24, 2007
  • Posts: 14
  • Loc: East Coast U.S.A
  • Status: Offline

Post October 20th, 2007, 6:42 am

yea i did that lol. And root does have a password this time.

now i'm working on stripping the system of all the packages i don't need and downloading some updated ones. This is giving me time to fall in love with command line....again:D
  • this213
  • Guru
  • Guru
  • User avatar
  • Joined: Mar 01, 2004
  • Posts: 1242
  • Loc: ./
  • Status: Offline

Post October 20th, 2007, 1:43 pm

Next time that happens, there's no need for a fresh install, just boot into runlevel 1 and reset your password.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post October 21st, 2007, 1:48 am

How do you do that ?
Strong with this one, the sudo is.
  • raziel23x
  • Novice
  • Novice
  • User avatar
  • Joined: Oct 21, 2007
  • Posts: 27
  • Loc: Canton Mi
  • Status: Offline

Post October 21st, 2007, 4:12 am

I know by default sometimes root default password is well root
  • this213
  • Guru
  • Guru
  • User avatar
  • Joined: Mar 01, 2004
  • Posts: 1242
  • Loc: ./
  • Status: Offline

Post October 21st, 2007, 8:26 am

joebert wrote:
How do you do that ?

This describes both LILO and Grub, just replace "Red Hat" with whatever you're booting:
http://www.redhat.com/docs/manuals/linu ... -init.html
  • tom2002
  • Novice
  • Novice
  • No Avatar
  • Joined: Dec 05, 2007
  • Posts: 16
  • Loc: Eugene, OR
  • Status: Offline

Post December 20th, 2007, 10:23 pm

Aren't the passwords in a "shadow" directory which is encrypted?

I did that before, and had to reinstall too.

There might be a way, but I am not sure about run level 1, because as I understood it, from my recent Linux class, run level 1 is just a command line TTY, which still requires a password to access.

Please share with us, what you end up doing.
  • this213
  • Guru
  • Guru
  • User avatar
  • Joined: Mar 01, 2004
  • Posts: 1242
  • Loc: ./
  • Status: Offline

Post December 21st, 2007, 7:56 am

Runlevel 1 is single user mode, it requires no password and automatically logs you in as root.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post December 21st, 2007, 5:15 pm

this213 wrote:
Runlevel 1 is single user mode, it requires no password and automatically logs you in as root.

Wow... learn something new everyday! Thanks for the tip!

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 103 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.