Gentoo Archives: gentoo-security

From: Robert Ullrich <roul76@×××.de>
To: gentoo-security@l.g.o
Subject: Re: [gentoo-security] Prevent users to login directly
Date: Wed, 28 Jul 2004 17:30:12
Message-Id: 20040728182235.10f4226b@springfield
In Reply to: Re: [gentoo-security] Prevent users to login directly by Volkov Peter Aleksandrovich
1 On Wed, 28 Jul 2004 12:21:49 +0400
2 Volkov Peter Aleksandrovich <pvolkov@××××××××.su> wrote:
3
4 > ÷ ÓÏÏÂÝÅÎÉÉ ÏÔ 28 éÀÌØ 2004 09:16 Robert Ullrich ÎÁÐÉÓÁÌ(a):
5 > > On Tue, 27 Jul 2004 20:28:01 -0400
6 > > Robert Sanders <rsanders@××××××××.com> wrote:
7 > > > Remote login?
8 > > > DenyUsers emerge
9 > > > in sshd config.
10 > >
11 > > That's working fine.
12 > > But "emerge" could still login without su when sitting in front of the
13 > > gentoo-box.
14 >
15 > I am not sure, but you can try to add you user into /etc/nologin file(see man
16 > login) to disable local logins...
17
18 No, that won't work: If /etc/nologin exists noone except root could login.
19
20 regards - Rob
21
22 --
23 gentoo-security@g.o mailing list