Q: lp commands do not work for normal user on SCO ODT 3.0 - why??

Q: lp commands do not work for normal user on SCO ODT 3.0 - why??

Post by Chris Da » Thu, 02 Nov 1995 04:00:00



I'd advise you check the permissions of your lp command. For a system
not running remote line printing, 'lp' should read

        ---x--s--x 2 bin lp     580088 Dec 14 12:03 /usr/bin/lp
              ^
              |
        The uid bit allows users other than root to print.

If rlp is installed the local 'lp' command should read

        ---x--x--x 1 root other 584443 Dec 14 12:03 /usr/lpd/remote/lp

Hope this helps

      Disclaimer: These are my thoughts and may be in beta, etc

 
 
 

Q: lp commands do not work for normal user on SCO ODT 3.0 - why??

Post by Bill At » Thu, 02 Nov 1995 04:00:00




Quote:>I'd advise you check the permissions of your lp command. For a system
>not running remote line printing, 'lp' should read

>    ---x--s--x 2 bin lp     580088 Dec 14 12:03 /usr/bin/lp
>              ^
>              |
>        The uid bit allows users other than root to print.

>If rlp is installed the local 'lp' command should read

>    ---x--x--x 1 root other 584443 Dec 14 12:03 /usr/lpd/remote/lp

>Hope this helps

For the record I had the exact same problem (SCO OSE 3.0).  The solution that
worked for me was to set the ownership and permissions of the three files in
/usr/lpd/remote to what they were before I did the "mkdev rlp", ie.:

 ---x--s--x   1 bin      lp          28978 Sep 29 23:11 /usr/lpd/remote/cancel
 ---x--s--x   1 bin      lp          58338 Sep 29 23:11 /usr/lpd/remote/lp
 ---x--s--x   1 bin      lp          93030 Sep 29 23:11 /usr/lpd/remote/lpstat

The files that "mkdev rlp" installed in /usr/bin were already set to these
same ownerships and permissions, but only "root" could print locally until I
modified the ownership/permissions in /usr/lpd/remote.  Since doing that I
have had no further problems with remote or local lp's.  YMMV.

--


 
 
 

1. Installing Windows & DOS Under SCO ODT 3.0

I have a 1GB hard drive that has 700 of it running SCO ODT 3.0 on one
partition and I have a 300MB partition that I want to install windows and other DOS
products under it. It is my understanding and I tried this along time ago(but never finished)
that I can install DOS on that partition and run all DOS software on that partition via
UNIX or ODT.

So my question(s) is, "What is the best way to run DOS software on SCO UNIX? Either on a
seperate partition or load it onto the UNIX partition? And if I load DOS on a seperate partition
can I backup that partition while in UNIX?

I have called SCO in the past but I get absolutly know ;) where with them. My company even
has a contract with them.

THX in advanced for the HELP!!!

2. smbclient works - smbmount does not !

3. EPERM error under heavy load on 32 user SCO ODT 3.0 System

4. Root Device Cannot be > 1024 Cylinder ? Why?

5. PANIC on SCO ODT using ODT-DOS

6. URGENT: Restoring unreferenced inode

7. SCO 4.4.2/ODT 3.0-What Pentium based portables work?

8. #9GXE64 Video Card Support

9. Windows in SCO ODT 3.0 and SCO 5

10. DHCP with SCO ODT 5 and SCO ODT 3?

11. timer_create on SCO ODT 5.0 not working!

12. sound works as root but not normal user

13. program calls rcmd() twice, _second_ call works for root but not normal users