Summary: | su -m doesn't work for restricted shell accounts | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Don Feliciano <don.feliciano+lists> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | VERIFIED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-503768-highlight-.html?sid=71a50f4af2a5ce044df8a38d371cae46 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Don Feliciano
2006-10-02 17:07:57 UTC
-m has nothing to do with it the -c option will always use the SHELL of the specified user ... the user here is apache and the default shell is /bin/false, so `su apache -c "..."` will execute `/bin/false ...` you need to use the -s option to specify a different shell than the default Curious that -s is not required by other UNIX/Linux. Still, this solution works. Thanks! |