[Dovecot] need help with dovecot-lda

Andreas Meyer anmeyer at anup.de
Sat Dec 15 20:25:52 EET 2012


Ben Morrow <ben at morrow.me.uk> wrote:

> At  5PM +0100 on 15/12/12 Daniel Parthey wrote:
> > Andreas Meyer wrote:
> > > I managed to su to vmail by giving it a shell.
> > > # su - vmail
> > 
> > For security reasons, you should rather not give a login shell
> > to non-interactive users.
> 
> [This is good advice.]
> 
> > You can temporarily pass a shell to su:
> > 
> > su -s /bin/sh - vmail
> 
> That depends on your su. Mine won't do that. I believe your assumption
> that Andreas is on Linux, and therefore has a su that does do that, is
> correct, but I don't know. (I might assume that since I said earlier
> 'read your system's su(1)' that it doesn't; but then again I might
> not...)

Yes it does. man su says so too.

> 
> Ben
> 




More information about the dovecot mailing list