From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f67d019e67611678 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-12-20 01:17:58 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: emmanuel.choquet@compaq.com (Emmanuel Choquet) Newsgroups: comp.unix.tru64 Subject: Re: FTP-only account with welcome message Date: 20 Dec 2001 01:17:57 -0800 Organization: http://groups.google.com/ Message-ID: <4618c6b9.0112200117.46eeb8cf@posting.google.com> References: <9vqv9m$f4m$03$1@news.t-online.com> NNTP-Posting-Host: 161.114.126.52 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1008839878 21999 127.0.0.1 (20 Dec 2001 09:17:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Dec 2001 09:17:58 GMT Xref: archiver1.google.com comp.unix.tru64:6224 "Reinhard Eigner" wrote in message news:<9vqv9m$f4m$03$1@news.t-online.com>... > Hi all! > > I'm running Tru64 5.1 and I want to make an user account with > ftp access only (no telnet function and so on). > If the ftp user will login he should get a welcome message like 'welcome on > ....' > All ftp users sould get this message. > > Any ideas? > Thanks in advance! > > Reinhard Banner message sould be in /etc/banner. You'll have to create it, default is not in there. add /usr/bin/true in /etc/shells to get getusershell(3) happy (called by ftpd) create your ftponly user with /usr/bin/true as default shell(adduser script) This user must not appear in /etc/ftpusers which logs exactly the opposite of his name : users that won't be able to use ftp. Actually, RTFM man ftpd will tell you everything :-) Cheers Emmanuel