[tex-live] Recommended way to call tlmgr when TeX Live installed with root permissions

Scott Kostyshak skostysh at lyx.org
Sun Aug 31 06:16:11 CEST 2014

On Sat, Aug 30, 2014 at 5:09 AM, Herbert Voss <Herbert.Voss at fu-berlin.de> wrote:
> Am 30.08.2014 05:48, schrieb Scott Kostyshak:
>> Suppose that TeX Live is installed to /opt/texbin and requires root
>> permissions to call tlmgr to update the installation. What are the
>> recommended ways to call tlmgr? I see two approaches:
>> 1. call it directly: sudo /opt/texbin/tlmgr (or create an alias)
>> 2. add /opt/texbin to root's PATH.
>> (2) seems to be the most convenient option but I imagine it's not a
>> good idea from a security perspective. If this is true, could someone
>> outline a case where this would lead to a security vulnerability?
> add the command `tlmgr` to /etc/sudoers to allow specific or all users
> to run tlmgr which, of course, can be called as an alias:
> alias tlupdate='tlmgr --self --all update'

Another good solution. Thanks for the idea, Herbert.


More information about the tex-live mailing list