1 |
By the way: In HP-UX it works that way: |
2 |
|
3 |
Simply put in the user's .profile first line |
4 |
|
5 |
[ "$0" != "-su" ] && exit |
6 |
|
7 |
and he could only login via su. Every other login-method (directly, ssh, etc.) will fail. |
8 |
|
9 |
regards - Rob |
10 |
|
11 |
|
12 |
On Wed, 28 Jul 2004 01:12:22 +0200 |
13 |
Robert Ullrich <roul76@×××.de> wrote: |
14 |
|
15 |
> Hi all, |
16 |
> |
17 |
> for the whole emerge-action I created a user "emerge" to keep me from |
18 |
> su-ing to "root". Now I want to prevent this user to login directly into the |
19 |
> system. Instead of that the only way to login should be a "su - emerge". |
20 |
> What could I do? |
21 |
> |
22 |
> regards - Rob |
23 |
> |
24 |
> -- |
25 |
> gentoo-security@g.o mailing list |
26 |
> |
27 |
|
28 |
-- |
29 |
gentoo-security@g.o mailing list |