|
Bugzilla – Full Text Bug Listing |
| Summary: | "sudo su -p" does not preserve the environment | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Greg Steele <greg.steele> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED INVALID | ||
| Severity: | high | ||
| Priority: | high | ||
| Version: | 1.6.7 | ||
| Hardware: | All | ||
| OS: | Linux | ||
|
Description
Greg Steele
2003-04-29 13:40:07 MDT
Sudo sets USER and LOGNAME to the target user. If you don't want this, you can use a line like this in sudoers: Defaults !set_logname |