Bug 121629
Summary: | su ignores all options except -s shell when passed -s shell; effects /etc/init.d/functions daemon() function | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | regs |
Component: | coreutils | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-04-30 12:06:59 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: |
Description
regs
2004-04-24 01:22:59 UTC
Cross-linking for completeness: http://mail.gnu.org/archive/html/bug-coreutils/2004-04/msg00169.html This seems to work fine in coreutils-5.2.1-6: [tim@cyberelk tim]$ su - Password: [root@cyberelk root]# su - rpm -s /bin/bash -c "ls /" Your default context is user_u:user_r:user_t. Do you want to choose a different one? [n] bin dev home lib misc opt root selinux tmp var boot etc initrd lost+found mnt proc sbin sys usr [root@cyberelk root]# rpm -q coreutils coreutils-5.2.1-6 |