Hi,
vielleicht ist es nur zu spät am Abend, aber ich suche gerade nach einer Mögkichkeit, ganze User-Bereiche über die UID für den Login via SSH zu sperren.
DenyUsers in der sshd_config ist zwar ganz nett, aber meines Wissens nach kann man nur die User Names angeben und nicht einen UID-Bereich (zumindest laut OpenSSH-Doku).
Kennt jemand eine Möglichkeit?
Gruß
Jesco
SSh Login für User-Bereiche sperren?
Re: SSh Login für User-Bereiche sperren?
Whitelist (Allow{Users|Groups}) statt Blacklist (Deny{Users|Groups}) verwenden.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

