From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,8f6508095e455b7d X-Google-Attributes: gidfee84,public From: "Gino Bernucci C." Subject: Re: Captive Accounts Date: 1998/06/10 Message-ID: <6ln5us$dkh$1@ancud.chilesat.net>#1/1 X-Deja-AN: 361530174 References: <35776F39.52F97B17@ozemail.com.au> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: Telsys S.A. Newsgroups: comp.unix.osf.osf1 Stuart Grierson escribi� en mensaje <35776F39.52F97B17@ozemail.com.au>... >We have a requirement to set up an account so remote users can only >download files via ftp. I have done this by make their shell >/bin/false, and editing the /etc/shells file. This allows ftp, but not >telnet. The only problem that I can see with this is that they can't >change their password - that and the ability to move around in ftp and >grab sensitive files:) > >Does anyone have any ideas on how to set this sort of 'captive account' >up?? > >Cheers, > You must add at the bottom of the .profile: exec passwd and make the user shell : /bin/ksh, for example With this changes, the user have the ability to make a telnet to your server, but he/she only can change his/her password. The ability to move around in ftp can be restricted changing the permission of the files and directories that you don't want the users can access. Regards, Gino