[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mail only account



Sergio Matos wrote:
> 
> How can I create mail only accounts on linux?
> Thanks for the help,
> 
> Sérgio Matos

This may not be the proper way to handle it, but I use this.  After
adding the user, /etc/passwd shows:

  jpennington:x:1004:102:Jon Pennington,,,:/home/jpennington:/bin/bash

I simply change the information so that the user has no shell, and has
no home directory:

  jpennington:x:1004:102:Jon Pennington,,,:/dev/null:/bin/false

They still have access to the FTP/NNTP/UUCP servers in many situations,
but it doesn't matter because they have no place to store files.

-- 
-=|JP|=-                "Why, oh, why didn't I take the blue pill?"
Jon Pennington        | Atipa Linux Solutions   -o)
jpennington@atipa.com | http://www.atipa.com    /\\
Kansas City, MO, USA  | 816-595-3000 x1550     _\_V

6D04 39E0 CAE9 9ADA 2CA3  2EBE 898A 6C37 CA1E A29C



Reply to: