[OS X TeX] OT: Location of print spool files

Maarten Sneep maarten.sneep at xs4all.nl
Sun Jun 11 07:12:47 EDT 2006


On 11 Jun 2006, at 1:09, Peter Dyballa wrote:

>
> Am 11.06.2006 um 00:45 schrieb Bruno Voisin:
>
>> Did I make a basic error of syntax, or is it the "lp" owner of the  
>> cups directory that is impervious to sudo?
>
> Twice: no!
>
> The reason is that cd is a shell built-in command, so you can't  
> 'sudo' it, even sudo -H -u root wouldn't change this. X11 would be  
> a help: 'sudo -H xterm <possible arguments>' would launch an xterm  
> and its user would be root -- you even can invoke it with -ls, i.e.  
> with a login shell in xterm.

Even better: start a shell as super user: sudo -H bash (or sudo -H  
tcsh). No need for all those big programs.

Maarten
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list