Best of Tech Support
I received Linux from my computer class. I use Partition Magic, but I forgot the logon name I used during the class. How do I get back in?
—Santos Gonzales, email@example.com
Assuming you boot with LILO, you can use some trickery to get in. When it boots, type the name of your boot image (you may press tab to get a list of images in case you forgot those) and append the string init=/bin/bash. For example, LILO: linux init=/bin/bash. Now edit the file /etc/shadow and change the line containing the word root. You want to remove all the characters between the first and second colons. Save the file. Then press Ctrl-Alt-Del to reboot. Log in as root (no password) and immediately set a password with the passwd command.
—Ben Ford, firstname.lastname@example.org
I recently finished installing Red Hat 7.2, and I have a separate Windows 98 PC connected to a Cox@home cable modem. I want to move the connection to the Linux box and use it as a router, firewall and, if possible, a DHCP server. The reason for the DHCP is because I want to learn how to set it up, and make it work. If you could give me the first step, or the steps in order of their priority, I would greatly appreciate it.
—Mike Dickson, email@example.com
First, set up your firewall. You need to set up both router protection rules and IP masquerading rules (for your Windows 98 boxes). You might want to use a GUI-based tool to start out, but you will grow out of it. Red Hat's GUI is called firewall-config. Second, set up the DHCP server. There is a DHCP mini-HOWTO at www.tldp.org/HOWTO/mini/DHCP/index.html. That's about it for a router. You can do other cool things, such as setting up your own mail server and web server, but this is a good first challenge. Overall, this project seems to be something you WANT to do, as a challenge. If this is not the case, I would recommend highly LRP out of the box or a Linksys box.
—Christopher Wingert, firstname.lastname@example.org
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- Sony Settles in Linux Battle
- Libarchive Security Flaw Discovered
- Profiles and RC Files
- Maru OS Brings Debian to Your Phone
- The Giant Zero, Part 0.x
- Snappy Moves to New Platforms
- Astronomy for KDE
- Git 2.9 Released
- Understanding Ceph and Its Place in the Market
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide