I have a Linux server that I bought at an auction but can't get into the OS (I don't know a lot about Linux) because it has a password. Is there a way to get around this? Thanks.
i know in Red hat u can go into single usr mode with no passwd and root priv, i think i had to press tab during the lilo when it ask if i wanted to boot into linux, when i pressed TAB, it showed another installation ( single user) and that lets u write in
If it boots to Linux but you don't know the root password its frighteningly to get round by default. All you do is reboot to the lilo 'boot:' prompt (if there's a graphical boot screen you will have to exit that with control-x or something first) then you type 'linux single' to boot into single user maintenance mode and you are root without logging in. You can then just change the root password. If its a Suse system then you'd do 'S' instead on 'single' :
boot: linux single
The system should stop with the superuser (root) prompt :
#
You just change the root password with the passwd command :
# passwd
(it prompts)
to shutdown (halt) do :
# /sbin/shutdown -h now
to reboot :
# /sbin/shutdown -r now
The problem you might have is that a shrewd user would have put a password on the lilo bootloader to protect against this scenario. In that case, you'd have to boot from CD or bootfloppy .
I have written a faq in the FAQ section of this forum to do just what you need. Please check it out and let me know if it was helpful. d3funct
zimmer.jon@cfwy.com
The software required `Windows 95 or better', so I installed Linux.
I agree with johnhoke. You never know what someone might have done with that box. You could manage to get in, get your internet connection, etc... and then discover a year later that someone has been logging all your activites on that machine, and emailing your passwords and other info elsewhere. Or, someone might have left tools on the system to turn your box into a DoS attack station. Or, who knows what else.
Clean install is always the best choice in these cases. It will take you far longer to inspect the whole system and make sure it is safe. -------------------------------------------
"Calculus is just the meaningless manipulation of higher symbols"
-unknown F student
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.