[tex-live] Recommended way to call tlmgr when TeX Live installed with root permissions
Herbert.Voss at FU-Berlin.DE
Sat Aug 30 11:09:22 CEST 2014
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'
More information about the tex-live