Linode Forum
https://forum.linode.com/

Restricting access to users
https://forum.linode.com/viewtopic.php?f=19&t=995
Page 1 of 1

Author:  peterb [ Sat Jul 03, 2004 9:06 am ]
Post subject:  Restricting access to users

Hi All,

Just a quick (prob fairly obvious solution..) question --

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? Can i do it via webmin or something?

Thanks in advance,

~ Peter.

Author:  rhashimoto [ Sat Jul 03, 2004 11:18 am ]
Post subject:  Re: Restricting access to users

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.

Author:  peterb [ Sat Jul 03, 2004 9:12 pm ]
Post subject:  Got it!

Thanks :D
I figured it out.. i just set the default shell for the users to false..

~ Peter

Author:  mattio [ Thu Jul 15, 2004 3:01 am ]
Post subject: 

You can also use Cyrus and Postfix to fully virtualize users.

With this kind of setup Postfix checks that user exists in database (or flatfile) and gives mail to Cyrus.

http://www.tldp.org/HOWTO/Postfix-Cyrus-Web-cyradm-HOWTO/

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/