Establishing a mail-only account?

Ding Li achillis2002 at gawab.com
Tue Jul 27 17:55:38 UTC 2004


What's difference between /bin/false and /sbin/nologin?

Thanks

Alexander Dalloz wrote:

>Am Di, den 27.07.2004 schrieb david um 19:38:
>
>  
>
>>Is there a way to define a user account for a remote user such that the 
>>user can ONLY retrieve his/her
>>mail via POP3 or IMAP, and cannot run any other functionality (such as 
>>shell, or ftp?)
>>
>>I am running FC2 server, command line only.
>>    
>>
>
>  
>
>>David
>>    
>>
>
>Edit /etc/passwd and change the shell set for the existing user to
>/bin/false. For new user creation use "useradd -s /bin/false".
>
>Alexander
>
>
>  
>





More information about the fedora-list mailing list