Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 14:06:41 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        Phil Gates <p_gates@fuse.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ftp only login
Message-ID:  <3D46FFE1.3030200@owt.com>
References:  <002801c2380d$14408c20$5d7e880a@zoomtown.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Phil Gates wrote:

> I need to allow a user to login to ftp but not login in an other way.  
> Does anybody know how I can do this.  I was told to change the shell to 
> some file such as /dev/null so the user would have no shell to login 
> to.  I changed the /etc/passwd file to do this.  When I try to login I 
> was still able to login., do I need to change any other files?
> 
> Or is there a different way to keep  a user  from only login in as a ftp 
> client.  ?


Did you use vipw or an editor and then forgot to upgrade the password 
database. If you didn't, use vipw and replace a letter with the same 
letter and exit. This way you will get used to using vipw to update a 
password.

Kent


> 
>  
> 
> Thanks
> 
>  
> 
> Phil Gates
> 
> email :
> 
> p_gates@fuse.net
> 


-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D46FFE1.3030200>