Summary: | updatedb --localuser is broken (su problem) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stanislav Brabec <utx> |
Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | azarah |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Stanislav Brabec
2003-02-06 11:57:54 UTC
If all else fails, RTFM ? The su we use have '-' that behave the same as '-l'. Also, could you please try to formulate your exact problem better, as well as with maybe some examples and what would have been the expected result ? Anyhow, what is seems like you want, is: # su - -c updatedb --localuser Sorry, it was my fault (man page contains -c inside text, not as subtitle). The problem seems to be little different: su nobody -c command does nothing (at least on my machine), because /etc/passwd contains: nobody:x:65534:65534:nobody:/:/bin/false Other su implementations does not use default shell value, or only for login shells. Ok, that is better =) Will have a look at our su .. should not be difficult to patch. Az is the man. |