Best of Technical Support
I have installed shadow-ina-box-1.2 and all the accounts that I created after the installation get the following error when they try to change their password:
homepage:~$passwd Changing password for user_name The password for user_name cannot be changed
Is there a solution to this or will I have to revert to an open password file? —Mike Pelley
I'd guess that one of two things is happening here. Either your passwd binary doesn't have the right permissions, or you are still using your old non-shadow passwd binary.
In order for passwd to make changes to the passwd file, it must be suid root. To check this, try doing ls -l `which passwd`. It should print something like this:
-r-s--x--x 1 root bin 3152 May 4 1994 /usr/bin/passwd
The important things are the s in the first column and the root in the third column. If you don't see the s, do a chmod u+s `which passwd` as root. If the file isn't owned by root (the root in the third column), do chown root `which passwd`.
Before you do all of that though, double check that what you are running really is the binary that shadow-ina-box installed. Do which passwd and make sure that's the right passwd binary. —Steven Pritchard, Southern Illinois Linux Users Group firstname.lastname@example.org
I print over a network setup. My problem is that when I print text files I cannot control the font size, and lines are cut off at the end. Is there any utility that will help me convert a text file to PostScript in any font size, because I have no problem printing PostScript. —Eskinder Mesfin
GNU enscript is a drop-in replacement for the enscript program. Enscript converts ASCII files to PostScript and writes the generated output to a file or sends it directly to the printer.
It is available from: prep.ai.mit.edu:/pub/gnu/enscript-1.4.0.tar.gz. —Rory Toma, WebTV Networks email@example.com
The nenscript program does what you want. It has numerous options to control the font, paper size, lines per page, number of copies, and so forth.
You might want to look into the magicfilter utility. This is a nifty little program that allows you to transparently print almost any kind of file to any reasonable printer. It installs as a print filter and uses some heuristics to determine the file type and work accordingly. I got my copy from Sunsite. —Bob Hauck, Wasatch Communications Group firstname.lastname@example.org
Try the apsfilter (aps 4.9.1) available on every linux-mirror. —Klaus Franken, S.u.S.E. GmbHkfr@suse.de
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!
- Back to Backups
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- A New Version of Rust Hits the Streets
- Google's Abacus Project: It's All about Trust
- Secure Desktops with Qubes: Introduction
- Seeing Red and Getting Sleep
- Fancy Tricks for Changing Numeric Base
- Secure Desktops with Qubes: Installation
- Working with Command Arguments
- CentOS 6.8 Released
Until recently, IBM’s Power Platform was looked upon as being the system that hosted IBM’s flavor of UNIX and proprietary operating system called IBM i. These servers often are found in medium-size businesses running ERP, CRM and financials for on-premise customers. By enabling the Power platform to run the Linux OS, IBM now has positioned Power to be the platform of choice for those already running Linux that are facing scalability issues, especially customers looking at analytics, big data or cloud computing.
￼Running Linux on IBM’s Power hardware offers some obvious benefits, including improved processing speed and memory bandwidth, inherent security, and simpler deployment and management. But if you look beyond the impressive architecture, you’ll also find an open ecosystem that has given rise to a strong, innovative community, as well as an inventory of system and network management applications that really help leverage the benefits offered by running Linux on Power.Get the Guide