[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

su and environment.



Good day.

The following:

$ su -c 'abc' -l anotheruser

but it returns

-su: abc: command not found

The abc is in the anotheruser's path, but it seems option '-l' does not
work here.

How I can accomplish the goal (without manually specifying complete
path)?


Thank You for Your time.


Reply to: