Summary: | cyrus user can't be used via su | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paul Oldham <paul> |
Component: | [OLD] Server | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED WONTFIX | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Paul Oldham
2005-12-13 12:13:24 UTC
from the su(1) SYNOPSIS su [options] [-] [username [ args ]] ... OPTIONS ... -s, --shell SHELL The shell that will be invoked. The invoked shell is choosen among (higest priority first): o The shell specified with --shell o If --preserve-environment is used, the shell specified by the $SHELL environment variable. o The shell indicated in the /etc/passwd entry for the target user. o /bin/sh if a shell could not be found by any above method. ... so you can do su -s /bin/sh username "command --options" WFM. For exmaple: su -s /bin/sh cyrus -c "/usr/lib/cyrus/squatter -r user.joe@example.com" to create indexes for user Joe mailbox. Sorry for the late response. HTH Tuan |