Best of Technical Support
How can I remove the boot manager from the master boot block of my hard disk? —Ralph Wu
A backup copy of your MBR is stored in /boot when first installing LILO. You can restore it with:
dd if=/boot/boot.0300 of=/dev/hda bs=446 count=1 (IDE-Disk) dd if=/boot/boot.0800 of=/dev/sda bs=446 count=1 (SCSI-Disk)
—Klaus Franken, S.u.S.E. GmbH kfr@suse.de
Find any MS-DOS boot disk with fdisk.exe on it. Execute fdisk with the undocumented parameter /mbr:
fdisk /mbr
It may appear not to work since this usage will return no messages and will exit immediately. It will overwrite your master boot record with a fresh copy, and LILO, Bootlin or whatever other boot manager you may be using will be gone.
—Chad Robinson, BRT Technical Services Corporation chadr@brtgate.brttech.com
I have a small network of Sun SPARC Solaris 2.4-based machines and a couple of Linux systems. The Suns use NIS+ and the Linux systems use /etc/hosts files to know about other hosts on the net. My problem is that I cannot send e-mail from a Linux system to another host. I have no problem when I am connected to the Internet using DNS to resolve host names. Why can't sendmail resolve a host name from /etc/hosts? I have no problem with telnet or FTP, but sendmail always says unknown host.
—Tim Bower
Your sendmail must be configured to not use DNS.
If you use the m4-macros, try /usr/doc/packages/sendmail/cf/linux.smtp-nodns.mc:
include(`../m4/cf.m4') VERSIONID(`linux for smtp-only without dns setup'dnl OSTYPE(linux) FEATURE(nouucp)dnl FEATURE(always_add_domain)dnl FEATURE(nodns)dnl MAILER(local)dnl MAILER(smtp)dnl
If you edit your /etc/sendmail.cf, try the following parameters:
# service switch file (ignored on Solaris, Ultrix, OSF/1, others) O ServiceSwitchFile=/etc/service.switch
# hosts file (normally /etc/hosts) O HostsFile=/etc/hosts
Then you have to create a file /etc/service.switch:
hosts files aliases files
—Klaus Franken, S.u.S.E GmbH kfr@suse.de
We are attempting to set up a dial-in server for the Internet site at our community college. We are using Getty_ps and have it up and working fine but cannot figure out how to get the modems to hang up automatically when the user exits the system. Any suggestions on how we can accomplish this? --Barre BullPrince George's Community College
Getty-ps may be capable of what you are trying to do, but since you are using it specifically for modem dial-in lines, you should take a hard look at Mgetty. Mgetty is a getty replacement specifically designed for use with modems. It supports almost all of the capabilities that Getty-ps supports alone.
I recommend it since it is designed explicitly for a modem. You should find it much better suited to your task.
You can get Mgetty from any Sunsite mirror. You will find that it also has support for FAX and voice capable modems.
—Chad Robinson, BRT Technical Services Corporation chadr@brttech.com
I've just loaded Linux and I can't add/change my root password. It says that I'm denied access, but when I do change attributes and reboot the system, the system defaults back to where it was: root access with no password protection.
—Dan Sapach
Have you possibly cleaned up files in your [cw]/etc[ecw] directory? Several files there are not meant to be cleaned up, and doing so will cause change-password attempts to fail. You should have /etc/passwd, /etc/passwd.OLD and /etc/passwd.old.
Also be sure your /usr/bin/passwd is setuid to root. If it isn't, try:
chown root.bin /usr/bin/passwd chmod 4711 /usr/sbin/passwd
Finally, make sure that only root can modify /etc/passwd:
chmod 644 /etc/passwd
—Chad Robinson, BRT Technical Services Corporation chadr@brttech.com
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
- RSS Feeds
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- Dynamic DNS—an Object Lesson in Problem Solving
- New Products
- Validate an E-Mail Address with PHP, the Right Way
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Download the Free Red Hat White Paper "Using an Open Source Framework to Catch the Bad Guy"
- Tech Tip: Really Simple HTTP Server with Python
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




2 hours 27 min ago
5 hours 39 min ago
7 hours 54 min ago
8 hours 22 min ago
9 hours 21 min ago
10 hours 49 min ago
11 hours 58 min ago
12 hours 44 min ago
19 hours 20 min ago
1 day 59 min ago