[ALUG] Testing Ububtu 6.10

Tim Green timothy.j.green at gmail.com
Mon Feb 19 01:30:40 GMT 2007


On 2/18/07, Ted Harding <ted.harding at nessie.mcc.ac.uk> wrote:
>   sudo cat test.ps >/dev/lp0

This won't do what you expect. The pipe to /dev/lp0 will still be
performed as you, not root. Extra quotes might help, but you'd have to
consult the shell manual.

> with the same result. Permissions on /dev/lp0 were
> something like (should have written it down ... )
>
>   rw- rw- --- root root

If you really want to hack about as root, without assigning a password
to root, just do:
sudo su -

Otherwise, I've no idea why printing isn't working for you.

Tim.



More information about the main mailing list