* Summary: How to lock up an ftp account
@ 2002-01-31 20:01 Smith, Mike R.
0 siblings, 0 replies; only message in thread
From: Smith, Mike R. @ 2002-01-31 20:01 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C1AA92.1785E735", Size: 5144 bytes --]
This is a multi-part message in MIME format.
------_=_NextPart_001_01C1AA92.1785E735
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Firstly, thanks to all who responed. I got so many answers I felt like
a Florida ballot counter. (American joke). I got many answers some
easy to implement, others more involved. I went with one of the easy
ones for immediate effect but I would like to look at some of the more
complex ones. =20
Lawrie Smith, Chris Bryant, Robert Sloane and Charles Ballowe gave
similar simple answers along the following lines.
set the user shell to /bin/false in the /etc/passwd file and make sure
/bin/false is in the /etc/shells file
also put /usr/bin/ftp in the /etc/shells file and then make /usr/bin/ftp
the shell for that user account
These were extremely simple and as this is a one time deal while we
determine why the customer is unable to use the secure ftp from behind
the firewall.
One other simple one from Darryl Cook was to look into the ftpaccess man
page and check the restricted uid section. He said this appears to
restrict a uid to its home directory when that uid is added to the
restricted uid section.
Dennis Peacock suggested a user account with a shell set to /bin/false
and a locked passwd. This looks pretty straightforward too.
=20
Others suggested wu_ftp, ncftpd, ftp servers, anonymous ftp, profitpd.
Sorry I did not list all names but I had quite a few replies.
=20
On Thu, 31 Jan 2002, Smith, Mike R. wrote:
> I have a request to set up an account for a customer. They will ftp
> some files in on a regular basis but they do not need to go anywhere
> else on the system. I found notes on the Rsh shell which seemed like
> what I wanted except it does not allow ftp access. Can anyone point me
> to the right way to do this.
------_=_NextPart_001_01C1AA92.1785E735
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY>
<DIV>
<P><SPAN class=3D637204519-31012002><FONT face=3DArial size=3D2>Firstly, =
thanks to all=20
who responed. I got so many answers I felt like a Florida ballot=20
counter. (American joke). <EM>I </EM>got many answers some =
easy to=20
implement, others more involved. I went with one of the easy ones =
for=20
immediate effect but I would like to look at some of the more complex=20
ones. </FONT></SPAN></P>
<P><SPAN class=3D637204519-31012002><FONT face=3DArial size=3D2>Lawrie =
Smith, Chris=20
Bryant, Robert Sloane and Charles Ballowe gave similar simple answers =
along the=20
following lines.</FONT></SPAN></P>
<P><SPAN class=3D637204519-31012002><FONT face=3DArial size=3D2>set the =
user shell to=20
/bin/false in the /etc/passwd file and make sure /bin/false is in the=20
/etc/shells file</FONT></SPAN></P>
<P><SPAN class=3D637204519-31012002><FONT face=3DArial size=3D2>also put =
/usr/bin/ftp=20
in the /etc/shells file and then make /usr/bin/ftp the shell for that =
user=20
account</FONT></SPAN></P>
<P><SPAN class=3D637204519-31012002><FONT face=3DArial size=3D2>These =
were extremely=20
simple and as this is a one time deal while we determine why the =
customer is=20
unable to use the secure ftp from behind the firewall.</FONT></SPAN></P>
<P><SPAN class=3D637204519-31012002><FONT face=3DArial size=3D2>One =
other simple one=20
from Darryl Cook was to look into the ftpaccess man page and check the=20
restricted uid section. He said this appears to restrict a uid to =
its home=20
directory when that uid is added to the restricted uid=20
section.</FONT></SPAN></P>
<P><SPAN class=3D637204519-31012002><FONT face=3DArial size=3D2>Dennis =
Peacock=20
suggested a user account with a shell set to /bin/false and a locked=20
passwd. This looks pretty straightforward too.</FONT></SPAN></P>
<P><SPAN class=3D637204519-31012002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </P>
<P><SPAN class=3D637204519-31012002><FONT face=3DArial size=3D2>Others =
suggested=20
wu_ftp, ncftpd, ftp servers, anonymous ftp, profitpd. Sorry I did =
not list=20
all names but I had quite a few replies.</FONT></SPAN></P>
<P><FONT face=3DArial size=3D2></FONT> </P>
<P><FONT face=3DArial size=3D2>On Thu, 31 Jan 2002, Smith, Mike R. =
wrote:</FONT></P>
<P><FONT face=3DArial size=3D2>> I have a request to set up an =
account for a=20
customer. They will ftp</FONT></P>
<P><FONT face=3DArial size=3D2>> some files in on a regular basis but =
they do not=20
need to go anywhere</FONT></P>
<P><FONT face=3DArial size=3D2>> else on the system. I found notes on =
the Rsh=20
shell which seemed like</FONT></P>
<P><FONT face=3DArial size=3D2>> what I wanted except it does not =
allow ftp=20
access. Can anyone point me</FONT></P>
<P><FONT face=3DArial size=3D2>> to the right way to do=20
this.</FONT></P></DIV></BODY></HTML>
------_=_NextPart_001_01C1AA92.1785E735--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-31 20:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-31 20:01 Summary: How to lock up an ftp account Smith, Mike R.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox