Bug 186879
Summary: | su -c "command" has no controlling terminal anymore | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karel van Houten <karel> |
Component: | coreutils | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | karel, lav, meyering |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-03-27 08:40:22 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
Karel van Houten
2006-03-27 08:32:12 UTC
Use '-s' to run a particular shell. -c is not for interactive commands. I've made a workaround based on the -s option. But I disagree that this is not a bug. I have scripts, that start an interactive command, using su -c, where the command has to accept arguments. This is not possible with the -s option. These scripts have worked on all unix versions (hpux, solaris), up to Fedora 4, and now starting with Fedora 5, I have to code these scripts different for linux and other unices. I don't think that is the way to go for unix. Regards, Karel. |