how to log into linux without knowing the password?
hi,
just took over a PC here from someone i can't get hold of, who have left it to me. containing a 'red hat enterprise linux 3' installed inside as a stand alone machine. problem is, when it has finished loading, and reaches the log-in screen where password is being prompted to be entered, I do not know the password that the previous user has set in order to get into linux desktop. anyone who could help me around here? password cracks, or anything at all..appreciate it. thanks. |
you should log into "single-user mode" by giving the "single" option to the kernel. These will help you:
http://www.redhat.com/docs/manuals/e...ot-passwd.html http://linuxgazette.net/107/tomar.html |
one thing i forgot to ask.......how do i know what login does the user uses to login?
well, the password change works. just tried it moments ago. secondly, is the login and password meant for root or as an ordinary user? thanks guys |
What you probably just changed was the root password. You can now log in as root using that password.
You can see which users are there usually by looking in /home or looking at the entries in /etc/shadow that have real password hashes. As root, you can add users using the "useradd" command and you can change user passwords using Code:
passwd <user> |
by default, the root login would be " root ", and this can't be changed, am i right to say that?
okays, anyways, i'm on a local area network here connected to internet as well. so, how do I configure red hat linux enterprise linux 3 here to connect to the LAN? thanks people |
hi. when booting linux , u can use the edit (e) and have a try.
|
Quote:
Quote:
Code:
up2date redhat-config-network /etc/sysconfig/network - set hostname and default gateway, eg: Code:
NETWORKING=yes eg for static IP: Code:
DEVICE=eth0 Code:
BOOTPROTO=dhcp |
Try:
1. Single-User Mode. Pass 'single' to the kernel.
|
Well, they *do* say "better late than never", but I'm not entirely convinced... :rolleyes:
|
All times are GMT -5. The time now is 06:43 AM. |