Bug 612414
Summary: | "sudo su - " does not work anymore with sudo-1.7.2p1 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | ilja lunev <uxadm> | ||||
Component: | sudo | Assignee: | Daniel Kopeček <dkopecek> | ||||
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.5 | CC: | dkopecek | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-07-08 12:00:46 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
I have no luck with reproducing this issue (using sudo-1.7.2p1-6). Could you please try whether the following commands work for you? $ sudo -i which is similar to "sudo su -" $ sudo -s which is similar to "sudo su" Also, whatever the result of the commands above is, please run the "sudo su -" command via strace under root. Here is the command you can run, it will generate a logfile which I need for a better analysis of this problem: # strace -u lxadmin -o sudo-strace.log -f sudo su - Hello Daniel, thank you for your quick response and your hints. I have found what caused the problem and it was a side effect with our adapted environment in /etc/profile.d It is not a bug with sudo and I apologize very much for the inconvenience. You can please close the call. (In reply to comment #2) > Hello Daniel, > > thank you for your quick response and your hints. > I have found what caused the problem and it was a side effect with our adapted > environment in /etc/profile.d > It is not a bug with sudo and I apologize very much for the inconvenience. > You can please close the call. Ok, no problem. Closing as NOTABUG. |
Created attachment 430257 [details] output from rpm -qil sudo and cat /etc/sudoers Description of problem: After the latest update of the sudo package to sudo-1.7.2p1 the command sudo su - does not work anymore. no matter if a user is config'd in /etc/sudoers with NOPASSWD: (as shown below) or if the passwd is required, the command sudo su - just logs out again. This breaks our process environment, so I am rating the severity high for us. lxadmin ALL = (ALL) NOPASSWD: ALL