Operating System - HP-UX
1834465 Members
2879 Online
110067 Solutions
New Discussion

lp command is not working for the ordinary users in HP-UX 10.20

 
shajith_1
Occasional Contributor

lp command is not working for the ordinary users in HP-UX 10.20

Dear All

I have HP-UX 10.20 loaded on E-45 server. I have configured the a serial line printer on a Terminal server (device name is /dev/pty/ttypf ) . i am able to take print out through the root equallant user. but when i use lp command from a normal user it is giving an error message " unable to set the user id to 100 " (where my lp user id is 100) ..

if any one knows/faced the same problem pls help

thanks in advance

shajith.t
lp is not working for the normal users in hp-ux 10.20
1 REPLY 1
Dan Hetzel
Honored Contributor

Re: lp command is not working for the ordinary users in HP-UX 10.20

Hi,

Make sure your /usr/bin/lp has the right permissions.

I have the following on 10.20 and 11.0:
-r-sr-xr-x 1 root bin 49152 May 26 2000 /usr/bin/lp

If it's not the same do the following (as root)
# chown root:bin /usr/bin/lp
# chmod 4555 /usr/bin/lp

Best regards,

Dan

Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com