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

Bruno Voisin bvoisin at mac.com
Sun Jun 11 01:20:28 CEST 2006


Le 11 juin 06 à 01:09, Peter Dyballa a écrit :

> 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.

Well, it seems I'm in for being out of luck tonight:

- In Terminal:

legimc11:spool brunovoisin$ sudo -H xterm -ls
Password:
sudo: xterm: command not found

- In Apple's X11:

legimc11:brunovoisin brunovoisin$ sudo -H xterm -ls
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Warning: This program is an suid-root program or is being run by the  
root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by  
running the
program as a non-root user or by removing the suid bit on the  
executable.
xterm Xt error: Can't open display: %s

Bruno------------------------- 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 macostex-archives mailing list