Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jul 03, 2004 9:06 am 
Offline
Senior Newbie

Joined: Sun Apr 18, 2004 12:14 am
Posts: 8
Website: http://kodium.net
WLM: peter@kodium.net
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.


Top
   
PostPosted: Sat Jul 03, 2004 11:18 am 
Offline
Senior Member

Joined: Wed Aug 13, 2003 10:24 am
Posts: 55
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.


Top
   
 Post subject: Got it!
PostPosted: Sat Jul 03, 2004 9:12 pm 
Offline
Senior Newbie

Joined: Sun Apr 18, 2004 12:14 am
Posts: 8
Website: http://kodium.net
WLM: peter@kodium.net
Thanks :D
I figured it out.. i just set the default shell for the users to false..

~ Peter


Top
   
 Post subject:
PostPosted: Thu Jul 15, 2004 3:01 am 
Offline
Senior Newbie

Joined: Wed Jul 14, 2004 7:52 am
Posts: 6
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/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group