1)It looks like a program that was set up a long time ago to have a user log in and
determine where they are coming from ( who they are and where they are) and then only allow them to print to a specific printer set up by their location............ It would have been easier to have an LPDEST statement in their profile but oh well......I assume that your users move around alot? Maybe that is why they did it that way.
2)The question is what do you want to do?
3)What are the permissions on /usr/local/bin? and who owns it and what is their group?
What are the permissions on /tmp and who owns it?
drwxrwsrwt 16 bin bin 4608 Nov 27 14:32 /tmp
-------------------------------
4)
0403-005
Cannot create the specified file
Possible Causes
From the command line, you issued the following command:
cat Filename > Printdevice
The printer device was either not attached, was busy, was down, or was on
the network.
You attempted to create a file in a directory for which you do not have write
or execute permissions.
You attempted to write to a file system that is mounted as read-only.
Procedures for Recovery
Ensure that the printer device is attached to the system.
Run the lpstat command to check if the printer is busy, or if the print queue
is down. If the printer is busy, wait until the currently queued job is
complete, and rerun the command.
If the print queue is down, run the su command to become the root user,
and then run the qadm command to restart the queue:
qadm -U Queuename
Run the su command and become the root user.
Add read/write permission to the directory and to the parent directories.
Unmount the file system with the unmount <filesystem> command.
Remount the file system with read/write access:
mount -o rw Filesystem Directory
======================
5) Check the permissions for normal printing...
File permissions, owners and groups for printing....
Check and make sure they are
similar...not sure what the /usr/local/bin/directory was..........maybe 755? 777?
At minimum, the following should be checked. This is especially true if only the root user (superuser) can
print.
-r-sr-s--- 1 root printq 58989 Oct 26 1994 /usr/sbin/qdaemon
-r-sr-s--- 1 root printq 50099 Oct 26 1994 /usr/sbin/lpd
-r-sr-sr-x 1 root printq 59262 Oct 26 1994 /bin/enq
-r-xr-xr-x 1 bin bin 31493 Oct 26 1994 /bin/qprt
-r-xr-xr-x 1 bin bin 30397 Oct 26 1994 /bin/lp
-r-xr-xr-x 1 bin bin 31421 Oct 26 1994 /bin/lpr
-r-xr-xr-x 1 bin bin 30909 Oct 26 1994 /bin/lpstat
-r-xr-sr-x 1 bin printq 54633 Oct 13 1994 /usr/lib/lpd/piobe
-r-sr-x--- 1 root printq 38205 Oct 26 1994 /usr/lib/lpd/digest
-r-sr-x--- 1 root printq 52088 Oct 26 1994 /usr/lib/lpd/qstatus
-r-sr-xr-x 1 root printq 49626 Aug 14 1995 /usr/lib/lpd/pio
/etc/pioout
crw-rw-rw- 1 root system 2, 2 Jul 09 08:56 /dev/null
-rw-rw-r-- 1 root printq 6198 Sep 27 10:55 /etc/qconfig
-rw-rw---- 1 root printq 26876 Sep 27 10:55 /etc/qconfig.bin
drwxr-xr-x 33 bin bin 2048 Sep 17 00:39 /
drwxr-xr-x 12 bin bin 512 Jul 10 14:45 /var
drwxrwxr-x 12 bin bin 512 Sep 13 18:53 /var/spool
drwxrwxr-x 5 bin printq 14336 Sep 14 11:51 /var/spool/lpd
drwxrwxr-x 2 root printq 42496 Sep 15 17:19 /var/spool/lpd/qdir
drwxrwxr-x 2 root printq 2048 Sep 15 17:18 /var/spool/lpd/stat
drwxrwxr-x 2 bin printq 6656 Sep 15 15:23 /var/spool/qdaemon
drwxr-xr-x 21 bin bin 512 Jan 17 1995 /usr
drwxr-xr-x 3 bin bin 11776 Sep 16 23:31 /usr/bin
drwxr-xr-x 4 bin bin 9216 Sep 16 23:32 /usr/sbin
drwxrwxr-x 15 root system 8192 Sep 27 10:55 /etc
drwxrwsrwt 16 bin bin 4608 Nov 27 14:32 /tmp
To check directories, enter:
ls -ld <path/directory>
For example, ls -ld / would return information for root directory, and ls -ld /etc would return information.
6) What changed....what happened that it stopped working...new printer added, ? Someone changed permissions on a directory? Something must have changed for it to stop working all of a sudden? Any clues?
It is a big problem....and not easily solved here.........The above may help you.....
but if not.....several things......If it just stopped working and you can find out what changed, change it back? If not when is the last mksysb from when it was working?
Can you go back? You could install new patches for bos.rte.printers and printers.rte and it may fix a permission problem........but guess if it will totally fix things.........
Did someone mess with permissions on other things as well?
Good Luck........