(cross-posted) [SLE] my apsfilter environment messed up
I am cross-posting this as printing broke around the time I first ran harden_suse. I can't see permissions or ownerships the harden script could have done which hurt apsfilter (maybe something in /etc/passwd ??), but perhaps wiser minds can direct me towards my error. ("rpm --verify" doesn't suggest anything wrong either) dproc ----------- I can't print anything, because my apsfilter script (Version: S.u.S.E.-1.6) starts choking as soon as it starts. It reports a stream of errors as soon as it is called by the lpd. The first error in its log is always head: command not found (This is the first time a binary is called by the bash script /var/lib/apsfilter .) Errors continue until the filter hands an error code back to lpd without printing anything. Any clues? dproc
On Tue, 30 Jan 2001, dproc wrote:
I can't print anything, because my apsfilter script (Version: S.u.S.E.-1.6) starts choking as soon as it starts. It reports a stream of errors as soon as it is called by the lpd.
The first error in its log is always head: command not found
A kind person wrote off-list "I had the same problem. When I changed the mode of /etc/rc.config to 644 everything was fine. Lpd couldn't read the configuration." Good suggestion. I just tried it - no effect. The only problem with the script is that it cannot find system binaries, such as head, tr, tail, grep, cut. Debugging the script with "set" near the beginning reveals that PATH does contain /usr/bin. What could cause these binaries to be not found ?? dproc
participants (2)
-
dproc
-
dproc@dol.net