Operating System - HP-UX
1753795 Members
6683 Online
108799 Solutions
New Discussion юеВ

Not able to print as a regular user

 
Harinath N
Frequent Advisor

Not able to print as a regular user

Hello,

In our solaris box, we are using HP Jetadmin to access a network printer.
In that way as root we are able to print files,
but as ordinary user, when we give lp command, we get a request-id against that and the files never gets printed.

There is no error also. We have even removed and re-configured the printer using jetadmin. Also the permissions of /var/spool/lp & /dev/null are ok.

Can anyone suggest / help me on solving this issue?

Thanks,
Hari
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: Not able to print as a regular user

Hari,

"Normal' users will need WRITE access to some of the spool directories. Being that I don't have jetadmin on my solaris I can't be of much help here, but you can, if you are willing to try this:

Do an "ls -lR /var >/tmp/var_filelist"

Then change the permissions of all directories related to the spooler/jetadmin to 777. then see if a normal user can print. If they can, then start changing the directories, ONE-BY-ONE back to their original settings, WHILE still testing the NORMAL user's ability to print.

good luck.

live free or die
harry
Live Free or Die
Wodisch
Honored Contributor

Re: Not able to print as a regular user

Hi Hari,

have tried using the copy option (-c) to "lp(1)", yet? Then your file to be printed will be copied by the spooler into its own directories, and would not need read access to your file (and its directory) at the time of being actually printed...

HTH,
Wodisch