VanLUG Email Archive

VanLUG Mailing List
Re: more ftp advice

New Message Reply About this list Date view Thread view Subject view Author view

Shane Wegner (shane@cm.nu)
Wed, 23 Aug 2000 16:18:49 -0700


On Wed, Aug 23, 2000 at 04:19:22PM -0700, fF3j wrote:
> hi again
>
> first off - much thanks to shane for the restrict-uid trick for creating a
> 'guest user'.
>
> my problem now is that i have a guest user than can still log in using ssh
> and do stuff.... how do i prevent a user from logging in remotely while
> still allowing ftp?

chsh -s /bin/false username

This sets the shell to a do-nothing binary. Then edit /etc/shells and make
sure a line
/bin/false
is there along with the others. If it isn't, wu-ftpd will not allow the
user to login.

Shane

-- 
Shane Wegner: shane@cm.nu
Personal website: http://www.cm.nu/~shane/
--
This message came to you via the Vancouver Linux Users Group mailing list.
For unsubscription instructions do not email the list, but rather send mail
to <vanlug-request@gweep.bc.ca>.


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Wed 23 Aug 2000 - 23:21:57