HP3000-L Archives

March 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Costas Anastassiades <[log in to unmask]>
Reply To:
Costas Anastassiades <[log in to unmask]>
Date:
Wed, 8 Mar 2000 17:27:57 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
I wanted to set up a user just for FTP. The user will have a password but
since all FTP clients will logon using this user, the password won't be the
best kept one. So I didn't want the user to be able to access the system
prompt or execute any other command should someone get clever and actually
logon as a normal session.

This is what I came up with.
-create a new user with SF, IA and a specific HOME group
-assign him a UDC which has OPTION LOGON and NOBREAK and which PAUSES for
say 5 minutes (more than enough FTP time for my needs) and then issues a BYE

and ... this ... seems ... to ... work :)

FTP clients can logon and exchange files and yet when you logon with a HELLO
there's nothing to do but wait for the BYE to be automatically issued. What
is really neat, is that once the FTP client logs off, the session also dies,
regardless of the elapsed PAUSE time.

Now the purpose of this message is so someone can :

a) tell me that I'm reinventing the wheel and/or
b) tell me what I'm missing and/or
b) suggest a more robust approach

Costas Anastassiades,
INTRACOM SA
Athens - Greece

ATOM RSS1 RSS2