Article 5K8ND LXer: How to edit a system file with sudoedit preserving the invoking user environment

LXer: How to edit a system file with sudoedit preserving the invoking user environment

by
LXer
from LinuxQuestions.org on (#5K8ND)
Published at LXer:

On Linux and other Unix-based operating systems, sudo is used to run a program with the privileges of another user, often root. When we need to modify a file which requires administrative privileges to be edited, if we launch our favorite text editor directly with sudo, it will run without the customization and settings we use when we invoke it normally, since the environment of the invoking user is not preserved.

Read More...latest?d=yIl2AUoC8zA latest?i=uL6dc7DhwYI:MnpiuQk-Czc:F7zBnMy latest?i=uL6dc7DhwYI:MnpiuQk-Czc:V_sGLiP latest?d=qj6IDK7rITs latest?i=uL6dc7DhwYI:MnpiuQk-Czc:gIN9vFwuL6dc7DhwYI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments