User Access restriction.
Mikhail Goriachev
mikhailg at webanoide.org
Tue May 30 02:28:22 PDT 2006
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: mikhailg at webanoide.org
Web: http://www.webanoide.org
PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
More information about the freebsd-questions
mailing list