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

Anthony Morton amorton at fastmail.fm
Sat Jun 10 19:43:28 EDT 2006


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

If what you need is a shell owned by root, 'sudo -s' is your friend.

Just bear in mind that in a root shell, accidents can be very expensive.

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