Question: Many tasks require the root privilege, such as installing a software package, but usually, you cannot log in as root for security reasons. Instead, the

Many tasks require the root privilege, such as installing a software package, but usually, you cannot log in as root for security reasons. Instead, the sudo command is a convenient way of executing commands as root (by default, unless another user is specified). After you run export X=7, you will be able see it using the command env. But if you sudo env you wont. Why? What simple argument can you add to sudo env to see X=7?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!