Establishing a mail-only account?

Christian Loza christianl at unete.com.bo
Wed Jul 28 15:36:09 UTC 2004


I believe there is no difference. Both may be scripts that deny usage of
a terminal. There is a lot of ways to deny terminal access. I created my
own in /bin/noAccess,
so you can use any of them.

On Tue, 2004-07-27 at 10:55 -0700, Ding Li wrote:

> 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
> >
> >
> >  
> >
> 
> 

-- 
Christian Loza <christianl at unete.com.bo>
UNETE Telecomunicaciones Ltda.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20040728/cb27a0d6/attachment-0002.html 


More information about the users mailing list