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

setting path for root after "sudo su" and "sudo" for Debian Bullseye (11)



I need a special path setting for root after both "sudo" and "sudo su." How can I set that up correctly?

Searching for a definitive answer seems hopeless. Any working solution is greatly appreciated.

In desperation I've thought about modifying /etc/login.defs for both root and all users, but hope there is a better solution.

Best regards,

-Tom

Reply to: