You are not logged in.
Pages: 1
While following this guide: http://wiki.archlinux.org/index.php/Arc … bit_system
.. I receive the following error message.
[reploid@archcomputer-inside_32arch ~]$ su
Password:
su: incorrect password
[reploid@archcomputer-inside_32arch ~]$ sudo su
Password:
sudo: pam_authenticate: Authentication service cannot retrieve authentication info
[reploid@archcomputer-inside_32arch ~]$
Is that it? Do I have to reinstall arch now, and do the whole install and tinkering procedure over again? (3rd time).
Offline
or you can just boot a live cd, chroot to your arch install and run passwd
Offline
How?
From the install cd?
Instead of typing /arch/setup/ , I can type chroot / and then passwd root??
When I attempt to do this from my linux mint partition, I only get error messages:
reploid@reploid-laptop:~$ sudo chroot /media/sda6
[sudo] password for reploid:
chroot: cannot run command `/bin/bash': Exec format error
reploid@reploid-laptop:~$
Offline
Before you chroot the partition you need to mount it, so from the install CD instead of typing /arch/setup try the following, assuming your root partition is sda1.
mount /dev/sda1 /mnt
chroot /mnt/ /bin/bash
passwd (enter new root password)
exit
umount /mnt/
reboot
Last edited by deathadder (2008-05-10 22:48:46)
#define QUESTION ((bb) || !(bb))
Offline
Weren't you trying to "su" from inside the chroot? That might be the problem.
Leave the chroot by running "exit" or pressing ctrl-d.
Offline
Thanks a lot, will try.
Meanwhile, could anybody tell me why it doesn't work from Mint? I have the borne again shell installed, so why do I only get this output:
reploid@reploid-laptop:~$ sudo chroot /mnt/ /bin/bash
chroot: cannot run command `/bin/bash': Exec format error
Offline
Weren't you trying to "su" from inside the chroot? That might be the problem.
Leave the chroot by running "exit" or pressing ctrl-d.
Thanks for the idea! I looked at man chroot to find out if I had to type exit, but the man pages didn't say. I guess I needed to install another helpfile from somewhere.
But closing the terminal and opening up a new one should work just as well, right?
Offline
I tried deathadders suggestion.
Upon starting up the live cd and chrooting, passwd only returns this.
"Authentication service cannot retrieve authentication info"
This doesn't look too good, does it?
Last edited by Reploid (2008-05-10 23:15:07)
Offline
u could use john the ripper to crack /etc/shadow for decrypt the password..or u could use the cd minimal install from arch..just do as deathadder is saying and u should be fine
Its a sick world we live in....
Offline
You could copy over the files that hold the password from an installation where you know the passwords of, or even just take the encrypted password from an existing installation that you know the password of and paste it into the files on your install, there's no need to reinstall ?
Last edited by GGLucas (2008-05-11 00:10:54)
Offline
IF he really forgot his root password, can't he simply append init=/bin/bash at boot?
Offline
If you're using grub, on the kernel line in its menu.lst file, there may or may not exist a line like this:
# (0) Arch Linux
title Arch Linux
root (hd0,4)
kernel /boot/vmlinuz26 root=/dev/sdd5 ro quiet splash
initrd /boot/kernel26.img
On that kernel line, right after the ...vmlinuz26, put the number "1" there (no quotes). Reboot, and it should drop you to a very limited shell, as root, then just do "passwd", give yourself a new one, then do "telinit 5" or "init 5" (replace "5" with "3" if you prefer a terminal instead of a GUI to come up).
Remove the "1" from that line in grubs menu.lst and get on with your life.
Offline
You could copy over the files that hold the password from an installation where you know the passwords of, or even just take the encrypted password from an existing installation that you know the password of and paste it into the files on your install, there's no need to reinstall ?
hummm guess that could work...
Its a sick world we live in....
Offline
chroot it god damn it !
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Thanks for the input, guys, but I didn't make it. I kept getting this error message "pam_authenticate: Authentication service cannot retrieve authentication info" even after trying the GRUB thing, so I just reinstalled Arch.
Offline
Pages: 1