Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Trying to reset root password
Trying to reset root password
i so far did the adding on "single init=/bin/bash" them "ctrl + x" to boot im in the bin/bash as root@none
i remounted using "mount -n -o remount,rx /" BUt its saying "bash: passwd: command not found"
i remounted using "mount -n -o remount,rx /" BUt its saying "bash: passwd: command not found"
Re: Trying to reset root password
Assuming you did forget the old password
(its not that clear, if you know the old password, just become root and type "passwd" without any further steps):
boot a live-CD
run 'fdisk -l' to find out what is the name of the / partition
mount it:
chroot into it and change the password
to exit chroot. Then reboot.
(its not that clear, if you know the old password, just become root and type "passwd" without any further steps):
boot a live-CD
run 'fdisk -l' to find out what is the name of the / partition
mount it:
Code: Select all
mkdir /media/disk
mount /dev/sda1 /media/disk
Code: Select all
chroot /media/disk
passwd
exit
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
Re: Trying to reset root password
No need of the 'single'; it's a parameter for init, and you're using bash as init.JeSTeRFLA wrote:i so far did the adding on "single init=/bin/bash" them "ctrl + x" to boot im in the bin/bash as root@none
i remounted using "mount -n -o remount,rx /" BUt its saying "bash: passwd: command not found"
There's an 'ro' just before that by default, which you can change temporarily to rw instead of remounting. Just remember: anything after init=... is extra options for init/..., so put the rw before that (otherwise it panics)
Thinkpad X100e/Debian Squeeze (All reposiories enabled)/Linux 3.4.11:
1GB RAM/1.6GHz Neo X2/ATI HD 3200/RTL8191SEVA2 wlan0, RTL8169 eth0
1GB RAM/1.6GHz Neo X2/ATI HD 3200/RTL8191SEVA2 wlan0, RTL8169 eth0
Re: Trying to reset root password
i still get the "bash: passwd: command not found" im using after "root@(none):/ # passwd" to change the password and i still doing something wrong?
and no i forgot the password although i only use one of 4 passwords none seem to be it
and no i forgot the password although i only use one of 4 passwords none seem to be it
Re: Trying to reset root password
Couple of days ago somebody recommended this (no need for "remount"):
Code: Select all
init=/bin/bash rw
Re: Trying to reset root password
I've used this how to twice on my mom's pc & never had an issue. She's running squeeze.
http://forums.debian.net/viewtopic.php? ... t+password
http://forums.debian.net/viewtopic.php? ... t+password
Re: Trying to reset root password
I have used this also for an old install I hadn't accessed in a loooong time. Easy, peasy.jdev1240 wrote:I've used this how to twice on my mom's pc & never had an issue. She's running squeeze.
http://forums.debian.net/viewtopic.php? ... t+password
May the FORK be with you!
Re: Trying to reset root password
OK so regardless i CANNOT use the passwd command in bash or sh why is that? its just not letting me
Re: Trying to reset root password
Is it installed?JeSTeRFLA wrote:OK so regardless i CANNOT use the passwd command in bash or sh why is that? its just not letting me
Code: Select all
echo $PATH; export PATH=$PATH:/usr/bin
/usr/bin/passwd
test -d /usr/bin && echo "Directory found"||grep '/usr' /etc/fstab && mount|grep usr
ls -l /usr/bin/passwd
dpkg -l passwd
Are permissions right? Did the package get uninstalled?
Thinkpad X100e/Debian Squeeze (All reposiories enabled)/Linux 3.4.11:
1GB RAM/1.6GHz Neo X2/ATI HD 3200/RTL8191SEVA2 wlan0, RTL8169 eth0
1GB RAM/1.6GHz Neo X2/ATI HD 3200/RTL8191SEVA2 wlan0, RTL8169 eth0