Re: [Freebsd-security] Re: Multi-User Security

看板FB_security作者時間21年前 (2004/06/08 12:43), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/10 (看更多)
On Sun, Jun 06, 2004 at 11:38:55PM -0700, Doug Barton wrote: > On Wed, 19 May 2004, Dan Rue wrote: > > >You obviously havn't tried to chroot scponly users.. _that's_ the tricky > >part. Especially if you want it to scale up beyond a handful of users. > >If i'm wrong - fill me in i'd love to hear how to do it. > > Have you considered using ~/.ssh/authorized_keys to restrict the account > from tty access? This would allow you to do commands (like scp) without > the risk of the user getting an actual shell. $ ssh host /bin/sh You don't need a tty to get an interactive shell. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #10nKFn00 (FB_security)
討論串 (同標題文章)
文章代碼(AID): #10nKFn00 (FB_security)