Best of Technical Support

Our experts answer your technical questions.
Changing Finger Information

How can I change the “user's name” in my finger information to a different name? For instance, how could I change my name from “Dave” to “David” ? What commands would I need to use? —David Innes

You can change that information (and more) using chfn (for change finger name). To just change the user's full name, use:

chfn -f "Full Name" username

For instance, to change the full name of the user “random” , you might enter:

chfn -f "J. Random Hacker" random
changing the full name of the user “random” to “J. Random Hacker” .

If you run chfn as a regular user, you can leave out your own username since chfn defaults to changing your own information. (Only root can change another user's information.)

If you run chfn without the -f argument, it will prompt you for all the fields it can change. —Steven Pritchard President Southern Illinois Linux Users Group steve@silug.org

Release Numbers

My distribution kernel is of version 2.0.27-5. What does the last number “5” mean? Some patch sublevel? Can I patch this kernel with patch-2.0.28 and patch-2.0.29 that are generally distributed at Linux web sites? Is this kernel somewhat modified and incompatible with these patches? —Oleg Zhirov Red Hat 4.1

The “-5” is a Red Hat-specific release number, For your particular version, it is the fifth time we've had to build the package for one reason or another. It has nothing to do with the kernel version or kernel patches.

This kernel should be patchable using the standard patches. However, I usually still suggest grabbing the entire tarball of the new version that you want, since there have been problems in the past with applying patches rather than using the full source. —Donnie Barnes Red Hat Software redhat@redhat.com

Leaving Processes Running

How can a non-root user leave a process running while not logged in? I have seen this done by detaching screens under various Unix flavors, yet I haven't found a similar program for Linux. —R. J. Rodd Slackware

Most of the Linux distributions come with the program screen which allows you to do just what you describe. If you don't have it, you can get the source for screen from: FTP://prep.ai.mit.edu/pub/gnu/screen-3.7.2.tar.gz

It compiles on Linux easily. —Steven Pritchard President Southern Illinois Linux Users Group steve@silug.org

If you want to keep processes running in the background after you log out, you can employ the nohup command. Check the man page for details, but briefly, just insert nohup at the beginning of the command line you want to live on after you've logged out; e.g., if you've got a book you need to typset with LaTeX:

nohup latex book.tex &

Be sure to include the ampersand at the end to indicate to the system the process is to be run in the background. —Gary Moore, Technical Editor

Setting Up a Netware Network

I would like to place a Linux system on a network populated with IPX/SPX Netware file servers. I am hoping there is a way to give the Linux system a “Netware/IPX/SPX” personality, thus allowing access to it from existing Netware clients. Where can I get help? —Todd Morris Slackware 2.0.x

Take a look at the IPX HOWTO. Everything about IPX-based problems and solutions is explained in this document. —Pierre Ficheux Lectra Systemes

Changing X Managers

How do I make AfterStep the default window manager for X instead of fvwm2? —Mohammed Rizal Othman SuSE 4.4

For system-wide changes, edit the global xinitrc (usually in /usr/X11/lib/X11/xinit/). To change your personal setup, edit the file .xinitrc (in your home directory) or, if you don't have an .xinitrc file, just copy the global xinitrc to ~/.xinitrc and edit that. —Steven Pritchard President Southern Illinois Linux Users Group steve@silug.org

Printing PostScript

I have been trying to create an entry in /etc/printcap for an HP Laser printer that is connected to the network using an HP Jetdirect card. I can get it to print, but I cannot get it to use the magic filter that comes with Red Hat to enable printing of PostScript files. Any help would be appreciated. —Pat Rooney Red Hat 4.1

Unfortunately, the normal lpd that we ship cannot handle using filters on remote printers. Only local printers may be filtered.

If you require this functionality, you can remove the lpd package and install LPRng or one of the other print servers available from the Internet. Red Hat is investigating the use of other print servers in future versions. —Donnie Barnes Red Hat Software redhat@redhat.com

______________________

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix