On 2/18/07, Ted Harding ted.harding@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.