Date: Tue, 30 Jul 2002 17:07:14 -0400 From: "Phil Gates" <p_gates@fuse.net> To: <freebsd-questions@FreeBSD.ORG> Subject: ftp only login Message-ID: <002801c2380d$14408c20$5d7e880a@zoomtown.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0025_01C237EB.8D0D5A60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. ?=20 Thanks=20 Phil Gates=20 email : p_gates@fuse.net ------=_NextPart_000_0025_01C237EB.8D0D5A60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I need to allow a user to login to ftp = but not=20 login in an other way. Does anybody know how I can do this. = I was=20 told to change the shell to some file such as /dev/null so the user = would have=20 no shell to login to. I changed the /etc/passwd file to do = this. =20 When I try to login I was still able to login., do I need to change any = other=20 files?</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Or is there a different way to = keep a=20 user from only login in as a ftp client. ? </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Phil Gates </FONT></DIV> <DIV><FONT face=3DArial size=3D2>email :</FONT></DIV> <DIV><FONT face=3DArial = size=3D2>p_gates@fuse.net</FONT></DIV></BODY></HTML> ------=_NextPart_000_0025_01C237EB.8D0D5A60-- 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?002801c2380d$14408c20$5d7e880a>