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 |