Re: Help: I forgot my root password :(
#include hallo.h Tao Liu wrote on Mon Sep 03, 2001 um 12:03:33PM: but my / (reiserfs) is mounted readonly. I can't change my /etc/shadow Try mount /, do your work and umount / reboot later. ;) Gruss/Regards, Eduard. -- Ich glaube nicht, daß man dieses Stück in Software umgesetzte Scheiße über- haupt mieser machen kann, als es sowieso schon ist. Das dürfte das einzige Programm sein, das vom Verhalten und seinen Anwendern her schlimmer als XP auf einem Amiga ist. - Manuel Richardt in ka.talk ueber Outlook Express
Re: Help: I forgot my root password :(
Tao == Tao Liu [EMAIL PROTECTED] writes: Tao Now I can give arguments to kernel when boot. I tried : LILO Tao Linux init=/bin/sh Tao but my / (reiserfs) is mounted readonly. I can't change my Tao /etc/shadow After you boot, use `mount -o remount,rw /' to change it. BTW: there is no need to mount a reiserfs read-only on boot: it won't be checked anyway. (Not in the traditional sense at least.) Just let the kernel replay the transaction log. -- G. ``Iggy'' Geens - ICQ: #64109250 Home: [EMAIL PROTECTED] - Work: [EMAIL PROTECTED] WWW: http://users.pandora.be/guy.geens/ `I want quality, not quantity. But I want lots of it!'
Help: I forgot my root password :(
Now I can give arguments to kernel when boot. I tried : LILO Linux init=/bin/sh but my / (reiserfs) is mounted readonly. I can't change my /etc/shadow so, I did: cp /bin/bash /base/bash chmod +s /base/bash then, I reboot, login as a common user, and type /base/bash but I did't get the root right, my UID and EUID didn't change , why? my kernel is 2.4.7, compiled myself. -- Regards Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: I forgot my root Password
- Original Message - From: William Leese [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Friday, May 04, 2001 1:35 AM Subject: Re: I forgot my root Password On Friday 04 May 2001 01:31, William Leese wrote: Please I need your help, I know I`m a fuckin silly user, but I forgot my root password, please I need your help, how can I recover it? get a bootdisk sorry, a rescue disk. It is possible to use bootdisk, may be debian cdrom. Boot, run shell, mount your root partition and do chroot mounted dir passwd Unmount, boot your system and log with new password. Chris
Re: I forgot my root Password
At LILO prompt, type: linux 1 and press enter. This will cause linux to start at runlevel 1 (single-user) so you can run passwd. After that, don't forget your passwd again. Saludos al Plata -- - Alberto Cabello Sánchez [EMAIL PROTECTED] Servicio de Informática Universidad de Extremadura 924 298 351 - 924 289 352 -- Debian 2.2 Potato Sylpheed 0.4.61 ==
Re: I forgot my root Password
On Fri, May 04, 2001 at 09:12:21AM +0200, Alberto Cabello S?nchez wrote: : : At LILO prompt, type: linux 1 and press enter. This will cause linux to start at runlevel 1 (single-user) so you can run passwd. After that, don't forget your passwd again. Debian asks for a root password before entering single user mode, go with the LILO: init=/bin/sh # mount -o remout,rw / as recommended above. -Jon
I forgot my root Password
Please I need your help, I know I`m a fuckin silly user, but I forgot my root password, please I need your help, how can I recover it? I`ve been looking in the howtoos but I cant didn`t find anything. Thanks you so much! Dario Paiva Anargentinan new user
RE: I forgot my root Password
From what I hear, if you're physically sitting at the server itself, you can use something called "single user mode" to get yourself out of this mess. This is all I know though so do some searching on the web with "single user mode" as your search criteria. Good luck. Brett. -Original Message-From: Dario R. Paiva [mailto:[EMAIL PROTECTED]Sent: Thursday, May 03, 2001 4:12 PMTo: debian-user@lists.debian.orgSubject: I forgot my root Password Please I need your help, I know I`m a fuckin silly user, but I forgot my root password, please I need your help, how can I recover it? I`ve been looking in the howtoos but I cant didn`t find anything. Thanks you so much! Dario Paiva Anargentinan new user
Re: I forgot my root Password
Please I need your help, I know I`m a fuckin silly user, but I forgot my root password, please I need your help, how can I recover it? get a bootdisk, boot the comp with it, mount your root partition or the partition containing /etc, open /etc/shadow (or passwd depending on your configuration) and you'll find a line like: root:insert mess of characters here:11408:0:9:7::: simply remove the characters between root: and the next colon (in this example insert mess of characters here and reboot without the bookdisk. your password will now be blank so you just have to press enter. after that just change your password to anything of your choice.
Re: I forgot my root Password
On Friday 04 May 2001 01:31, William Leese wrote: Please I need your help, I know I`m a fuckin silly user, but I forgot my root password, please I need your help, how can I recover it? get a bootdisk sorry, a rescue disk. a popular one: http://www.toms.net/rb/download.html
Re: I forgot my root Password
also sprach William Leese (on Fri, 04 May 2001 01:31:15AM +0200): get a bootdisk, boot the comp with it, mount your root partition or the partition containing /etc, open /etc/shadow (or passwd depending on your configuration) and you'll find a line like: or just give the command linux init=/bin/sh to lilo as it boots... martin; (greetings from the heart of the sun.) \ echo mailto: !#^.*|tr * mailto:; [EMAIL PROTECTED] -- no cat has eight tails. a cat has one tail more than no cat. therefore, a cat has nine tails.
Re: I forgot my root Password
MaD dUCK wrote: also sprach William Leese (on Fri, 04 May 2001 01:31:15AM +0200): get a bootdisk, boot the comp with it, mount your root partition or the partition containing /etc, open /etc/shadow (or passwd depending on your configuration) and you'll find a line like: Hit shift as the machine is booting to get the lilo prompt so you can do the following or just give the command linux init=/bin/sh to lilo as it boots...
Re: I forgot my root Password
On Thu, May 03, 2001 at 08:12:24PM -0300, Dario R. Paiva wrote: Please I need your help, I know I`m a fuckin silly user, but I forgot my root password, please I need your help, how can I recover it? I`ve been looking in the howtoos but I cant didn`t find anything. http://www.aokiconsulting.com/quick/ch3.html#s-crackroot There are few ways. I like one to boot: init=/bin/sh and remount /. -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ + Osamu Aoki [EMAIL PROTECTED], GnuPG-key: 1024D/D5DE453D + + My debian quick-reference, http://www.aokiconsulting.com/quick/+