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 email@example.com
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 firstname.lastname@example.org
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 email@example.com
Try the apsfilter (aps 4.9.1) available on every linux-mirror. —Klaus Franken, S.u.S.E. GmbHkfr@suse.de
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- SUSE LLC's SUSE Manager
- My +1 Sword of Productivity
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Managing Linux Using Puppet
- Non-Linux FOSS: Caffeine!
- SuperTuxKart 0.9.2 Released
- Doing for User Space What We Did for Kernel Space
- Parsing an RSS News Feed with a Bash Script
- Google's SwiftShader Released
- Rogue Wave Software's Zend Server
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