[sudo-users] Option to change to user's homedir?

Todd C. Miller Todd.Miller at courtesan.com
Wed Aug 30 13:26:55 MDT 2017


On Wed, 30 Aug 2017 16:45:22 -0000, "Dempsey, Steve AZ" wrote:

> Yes, inexperienced users are routinely confused by a 'permission denied'
> error when the caller sits in a working directory that is not accessible
> by the runas user (whether by direct permissions or nfs/root squash).

That's a good point.  I'm not sure whether adding a new option will
help inexperienced users though.  Perhaps sudo should automatically
change directories if it is not possible to get the cwd as the runas
user.

 - todd


More information about the sudo-users mailing list