[Dovecot] need help with dovecot-lda

Ben Morrow ben at morrow.me.uk
Sat Dec 15 20:19:10 EET 2012


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...)

Ben




More information about the dovecot mailing list