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
Trending Topics
| Make TV Awesome with Bluecop | May 16, 2012 |
| Hack and / - Password Cracking with GPUs, Part I: the Setup | May 15, 2012 |
| An Introduction to Application Development with Catalyst and Perl | May 14, 2012 |
| Cryptocurrency: Your Total Cost Is 01001010010 | May 09, 2012 |
| HTML5 for Audio Applications | May 07, 2012 |
| May 2012 Issue of Linux Journal: Programming | May 02, 2012 |
- Hack and / - Password Cracking with GPUs, Part I: the Setup
- An Introduction to Application Development with Catalyst and Perl
- Validate an E-Mail Address with PHP, the Right Way
- Make TV Awesome with Bluecop
- Monitoring Hard Disks with SMART
- Which one is the Best Free and Paid PDF editor for Mac
- Examining Load Average
- Readers' Choice Awards 2011
- Bash Regular Expressions
- Building an Ultra-Low-Power File Server with the Trim-Slice






2 hours 14 min ago
7 hours 51 min ago
11 hours 14 min ago
19 hours 1 min ago
1 day 7 hours ago
1 day 11 hours ago
1 day 17 hours ago
1 day 17 hours ago
1 day 18 hours ago
1 day 18 hours ago