peterb wrote:
I have several accounts for some of my friends to use for email access (using postfix etc.).. However, I want to restrict their access - so that they cannot ssh in etc.. ie, not have a shell account on the system - i just want them to be able to log into webmail etc.. How do I do this?
You can just set their shell to /bin/false, either using chsh or directly in /etc/passwd.
Alternatively, you can set up your mail system so that mail accounts are administered independently of Linux accounts.