Marwan Sultan wrote: > Hello, > > Yes, I understand that To lockup a user from navigating outside their > home directories through > ftp, I simply can add them to /etc/ftpchroot and when a user connects > It wont allow him > to go any level higher than his Home Directory. > No need for proftpd as additional port, because the base system will do > it throu /etc/ftpchroot > > BUT!! > The user can connect through SSH and navigate, > Here where my information stops, > 2 questions, > 1) How do I have a list from few users to disallow them using SSH? > is there any where i add a user to disallow him from using SSH?
man sshd_config and see AllowUsers/DenyUsers sections. > > 2) If I want to lock the user through his SSH session not FTP session > whats the way? > Is jail the only way? no easier way? chroot can do it? how if yes? or > whats the alternatives? > > Thank you guys for following up with me. > > Marwan Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"