Hi all, many thanks for your help. This list is very helpful. Below my original question. There are 3 ways you mentioned. ----- first solution ------- Kai Grunau [kgrunau@ifm.uni-kiel.de] root@Uprava.ev.co.yu.mannesmann.de im Auftrag von Nikola Milutinovic [Nikola.Milutinovic@ev.co.yu] David LaPorte [david_laporte@harvard.edu] Declan Lennon [declan.lennon@onebox.com] You should be able to give the FTP-only user a bogus shell (like /bin/false) and add it to /etc/shells. He/she will not be able to login via telnet, but can via FTP. This works fine. Declan Lennon [declan.lennon@onebox.com] suggests: Also, refer to man ftpd, which contains guidelines on how you should configure the ftp account for anonymous access. ----- second solution ------- Lucio Chiappetti [lucio@ifctr.mi.cnr.it]: have such a "public access" password protected account. Just define a normal account using /bin/csh as shell. In the home directory place a .login file like the following (and no .cshrc file) : stty susp ^- onintr - logout The purpose of the three lines are : to replace the default suspend interrupt character (control-Z) with one nobody will usually expect (so that a telnet user can't branch to the shell). To trap any other interrupt, And of course to log the user out. This works fine too. --- third solution ----------------- makino@hpc.co.jp> This may not be 100% accurate, but should be right. 1) Edit /etc/passwd Change ftp only user's group and shell Say 21 for group, and shell as /usr/bin/passwd If you do above, and user attempt to telnet, only thing they can do, is to change their passwd. 2) Edit /etc/shells add /usr/bin/passwd 3) Edit /etc/group add ftponly:*:21: and ftponly group 4) Edit /etc/ftpaccess set guestgroup ftponly 5) Copy following files /users/ftp/bin/* /users/ftp/etc/* /users/ftp/lib/* all contents to /users/ftpuser1/bin /users/ftpuser1/etc /users/ftpuser1/lib You should be ready to start service then, good luck, I didn't try that solution. regards Werner Rost ------------------------------------------------------ Werner Rost, Mannesmann-Boge GmbH Abt: KIR Tel: 0228/3825-420 Fax: 0228/3825-398 Email: werner.rost@boge.mannesmann.de Friesdorfer Str. 175, 53175 Bonn - Bad Godesberg ------------------------------------------------------ -----Urspr�ngliche Nachricht----- Von: Werner Rost [mailto:werner.rost@boge.mannesmann.de] Gesendet am: Dienstag, 20. Juni 2000 09:36 An: ALPHA-System-Managers (E-Mail) Betreff: ftp-only-account - preventing telnet Hi all, I need an account which allows connections via ftp but prevents logging on via telnet. How to do? Environment: Alpha 1000, DU 3.2F regards Werner Rost ------------------------------------------------------ Werner Rost, Mannesmann-Boge GmbH Abt: KIR Tel: 0228/3825-420 Fax: 0228/3825-398 Email: werner.rost@boge.mannesmann.de Friesdorfer Str. 175, 53175 Bonn - Bad Godesberg ------------------------------------------------------