You are not logged in.
Pages: 1
When I try to login: root
It says
login incorrect
I didnt set any password
How can login. I didnt add any user also
Offline
more info needed , did you just install arch? , you should have set your root password there.
Solution
You could chroot into your install.
Offline
I have just installed xorg and then installed the guest additions of virtual box and then restarted
I didnt kept any password for root till now
Previously when i login: root it used to login and go to command prompt
I am feeling that again I have to reinstall, which I dont want.
How to use chroot
can you give some more instructions
Offline
If you didn't set a root password can't you login with the password field left empty?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
If you didn't set a root password can't you login with the password field left empty?
I dosent ask for any password
after login: root
it gives login incorrect.
It doesnt ask for password
As I have mentioned I didnt create any login till now
But if I use login: xyz
then it asks for a password and when I enter it says login incorrect
for any other login other root it asks for password.
Last edited by sant527 (2009-08-13 12:37:05)
Offline
I know it's a daft question but are you sure you're not still booting from the CD?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Yes I have just booted from the CD
Then what to do
Offline
no, did you disable the boot from cd in virtualbox ? and do you see grub ?
Offline
Sorry I am not able to get you
If I disable the boot from CD in virtual box then how can I boot.
I have booted and mounted my
mount /dev/sda3 /mnt/hare
then nano /mnt/hare/etc/passwd
the root line looks like this
root:x:0:0:root:/root:/bin/bash
How to edit this line so that I can login back
Offline
I found the solution but partially
I have diabled boot from CD in virtual box
When I started I entered in to grub and append at the end of the kernel line single, then booted by pressing b
I then able to set a new root password. I also added a new user tom and set the password.
Not I rebooted again.
but login: root
passwd: entered the correct passwd
it doesn login
rather
login: tom
passwd: enter passwd
It logins to tom
at command prompt
# su
passwd: entered root passwd
the root passwd works and the logins into root
The reason why I can only login to root to some other account is not known
It can be because I have updated initscripts and replaced the previous inittab file with the inittab.pacman
I dont know what inittab does
Can some one throw some light on this aspect
Offline
i can confirm
i change to tty3 (ctrl alt F3) login root my password is incorrect but if i su from user i get in
i found this out this am thought i was hacked for a moment
id play with this but im unable to now
am curious as to why this is though
Offline
Check if /dev/tty* are correct. I posted similar topic few days ago:
http://bbs.archlinux.org/viewtopic.php? … 91#p598991
Last edited by figue (2009-08-14 07:42:33)
Offline
Pages: 1