Gentoo Archives: gentoo-security

From: Will Richey <w-gentoo@××××.org>
To: gentoo-security@l.g.o
Subject: Re: [gentoo-security] Prevent users to login directly
Date: Wed, 28 Jul 2004 11:52:32
Message-Id: 20040728115852.GA8841@afternoonmoon.com
In Reply to: Re: [gentoo-security] Prevent users to login directly by Robert Ullrich
1 * Robert Ullrich <roul76@×××.de> [2004-07-28 03:03]:
2 > By the way: In HP-UX it works that way:
3 >
4 > Simply put in the user's .profile first line
5 >
6 > [ "$0" != "-su" ] && exit
7 >
8 > and he could only login via su. Every other login-method (directly, ssh, etc.) will fail.
9
10 I am not sure that is a complete solution. I'm rather confident
11 that xdm does not run .profile, though it is a little difficult
12 to trace. Having a .bash_profile seems to preclude running .profile.
13
14 -wmr-
15
16 --
17 gentoo-security@g.o mailing list

Replies

Subject Author
Re: [gentoo-security] Prevent users to login directly Robert Ullrich <roul76@×××.de>
Re: [gentoo-security] Prevent users to login directly Robert Ullrich <roul76@×××.de>