| Summary: | sys-apps/shadow-4.0.18.2: su broken when -s SHELL is used after the username | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Robin Johnson <robbat2> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED INVALID | ||
| Severity: | critical | ||
| Priority: | Highest | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Robin Johnson
2007-12-05 00:47:23 UTC
it's always been this way and it's done on purpose the man page of su states quite clearly: Additional arguments may be provided after the username, in which case they are supplied to the user's login shell. Ah, then tracing that, doing: "sh $USER -c foo", runs "bash -c foo", which is valid, however "bash -s foo" is not valid. I'll file other bugs for ebuilds that are mis-using su then. |