Bug 47087 - [patch] Add WITH_SHELL_SETS_HOME knob to security/sudo
Summary: [patch] Add WITH_SHELL_SETS_HOME knob to security/sudo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Michael Haro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-14 23:10 UTC by Stefan Farfeleder
Modified: 2003-07-17 05:49 UTC (History)
1 user (show)

See Also:


Attachments
sudo.diff (496 bytes, patch)
2003-01-14 23:10 UTC, Stefan Farfeleder
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Farfeleder 2003-01-14 23:10:03 UTC
From the INSTALL file:

#  --enable-shell-sets-home
#        If sudo is invoked with the "-s" flag the HOME environment variable
#        will be set to the home directory of the target user (which is root
#        unless the "-u" option is used).  This option effectively makes the
#        "-s" flag imply "-H".

As I prefer this behaviour, my patch allows the configure option to be
enabled by defining the WITH_SHELL_SETS_HOME variable.

How-To-Repeat: n/a
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2003-01-14 23:19:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mharo

Over to maintainer
Comment 2 Michael Haro freebsd_committer freebsd_triage 2003-07-17 05:49:49 UTC
State Changed
From-To: open->closed

Committed, thanks!